共用方式為


MTLStorageMode 列舉

定義

列舉資源對應的 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 都可以存取資源的位置。

適用於