Edytuj

Udostępnij za pośrednictwem


MPSPurgeableState Enum

Definition

Enumerates an image's underlying texture's purgeable state.

This enumeration supports a bitwise combination of its member values.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[System.Flags]
public enum MPSPurgeableState
type MPSPurgeableState = 
Inheritance
MPSPurgeableState
Attributes

Fields

Name Value Description
AllocationDeferred 0

Indicates that the underlying texture has not been allocated.

KeepCurrent 1

Indicates that the underlying texture can be queried without changing its purgeable state.

NonVolatile 2

Indicates that the texture may not be discarded.

Volatile 3

Indicates that the texture may be, but does not have to be, discarded.

Empty 4

Indicates that the underlying texture should be discarded.

Applies to