다음을 통해 공유


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)

힙의 현재 올코원 크기를 반환합니다.

적용 대상