MTLStorageMode Enum

Definition

Enumerates CPU cache modes for resource mapping.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public enum MTLStorageMode
type MTLStorageMode = 
Inheritance
MTLStorageMode
Attributes

Fields

Managed 1
Memoryless 3

Indicates the memory mode for an unbacked temporary render target.

Private 2

Indicates that only the GPU can access the location of the resource.

Shared 0

Indicates that both the CPU and GPU can access the location of the resource.

Applies to