Freigeben über


MTLDevice_Extensions.CreateHeap(IMTLDevice, MTLHeapDescriptor) Methode

Definition

Erstellt und gibt einen neuen Heap zurück.

[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

Parameter

This
IMTLDevice

Die Instanz, für die diese Methode verwendet wird.

descriptor
MTLHeapDescriptor

Gibt zurück

Attribute

Gilt für: