MTLDevice_Extensions.CreateHeap(IMTLDevice, MTLHeapDescriptor) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立並傳回新的堆積。
[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.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Metal.IMTLHeap CreateHeap (this Metal.IMTLDevice This, Metal.MTLHeapDescriptor descriptor);
static member CreateHeap : Metal.IMTLDevice * Metal.MTLHeapDescriptor -> Metal.IMTLHeap
參數
- This
- IMTLDevice
這個方法運作所在的 實例。
- descriptor
- MTLHeapDescriptor
傳回
- 屬性