Compartilhar via


IMTLHeap Interface

Definição

[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
Atributos
Implementações

Propriedades

CpuCacheMode
Device
Handle

Manipule (ponteiro) para a representação de objeto não gerenciado.

(Herdado de INativeObject)
Label
Size
StorageMode
UsedSize

Métodos

CreateBuffer(nuint, MTLResourceOptions)
CreateTexture(MTLTextureDescriptor)
GetMaxAvailableSize(nuint)
SetPurgeableState(MTLPurgeableState)

Métodos de Extensão

GetCurrentAllocatedSize(IMTLHeap)

Retorna o tamanho realçado atual do heap.

Aplica-se a