Enumeration Case

MTLPurgeableStateKeepCurrent

The current state is queried but doesn't change.

Declaration

MTLPurgeableStateKeepCurrent = 1

Discussion

The setPurgeableState: method never returns this value. When this value is passed to that function, it returns the current purgability state without changing it.

See Also

Specifying Purgeable States

MTLPurgeableStateNonVolatile

The contents of the resource aren't allowed to be discarded.

MTLPurgeableStateVolatile

The system is allowed to discard the resource to free up memory.

MTLPurgeableStateEmpty

The contents of the resource are or will be discarded.