IMTLHeap 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
[Foundation.Protocol(Name="MTLHeap", WrapperType=typeof(Metal.MTLHeapWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IMTLHeap : IDisposable, ObjCRuntime.INativeObject
type IMTLHeap = interface
interface INativeObject
interface IDisposable
- 屬性
- 實作
屬性
CpuCacheMode | |
Device | |
Handle |
處理 unmanaged 物件標記法) (指標。 (繼承來源 INativeObject) |
Label | |
Size | |
StorageMode | |
UsedSize |
方法
CreateBuffer(nuint, MTLResourceOptions) | |
CreateTexture(MTLTextureDescriptor) | |
GetMaxAvailableSize(nuint) | |
SetPurgeableState(MTLPurgeableState) |
擴充方法
GetCurrentAllocatedSize(IMTLHeap) |
傳回堆積的目前全部編碼大小。 |