MTLDevice_Extensions.CreateHeap(IMTLDevice, MTLHeapDescriptor) 方法

定义

创建并返回新堆。

[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

返回

属性

适用于