MTLStorageMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |