MTLStorageMode 列舉
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
列舉資源對應的 CPU 快取模式。
[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 =
- 繼承
-
MTLStorageMode
- 屬性
欄位
Managed | 1 | |
Memoryless | 3 | 指出未備份暫存轉譯目標的記憶體模式。 |
Private | 2 | 表示只有 GPU 可以存取資源的位置。 |
Shared | 0 | 表示 CPU 和 GPU 都可以存取資源的位置。 |