Bearbeiten

Freigeben über


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

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