IMTLHeap Интерфейс

Определение

[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

Дескриптор (указатель) на представление неуправляемого объекта.

(Унаследовано от INativeObject)
Label
Size
StorageMode
UsedSize

Методы

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

Методы расширения

GetCurrentAllocatedSize(IMTLHeap)

Возвращает текущий размер кучи.

Применяется к