Bagikan melalui


MTLRenderCommandEncoder_Extensions.UseHeaps Metode

Definisi

Menandai tumpukan yang ditentukan sebagai dapat digunakan oleh render pass.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void UseHeaps (this Metal.IMTLRenderCommandEncoder This, Metal.IMTLHeap[] heaps, nuint count);
static member UseHeaps : Metal.IMTLRenderCommandEncoder * Metal.IMTLHeap[] * nuint -> unit

Parameter

This
IMTLRenderCommandEncoder

Instans tempat metode ini beroperasi.

heaps
IMTLHeap[]

Timbunan untuk membaca sumber daya yang dibungkus dalam buffer argumen.

count
System.System.UIntPtr System.unativeint

Jumlah timbunan.

Atribut

Berlaku untuk