Share via


MTLStorageMode Enum

Definition

Enumerates CPU cache modes for resource mapping.

[ObjCRuntime.Native]
public enum MTLStorageMode
[<ObjCRuntime.Native>]
type MTLStorageMode = 
Inheritance
MTLStorageMode
Attributes

Fields

Name Value Description
Shared 0

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

Managed 1
Private 2

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

Memoryless 3

Indicates the memory mode for an unbacked temporary render target.

Applies to