Compartilhar via


MTLRenderCommandEncoder_Extensions.UseHeaps Método

Definição

Marca os heaps especificados como utilizáveis por um passe de renderização.

[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

Parâmetros

This
IMTLRenderCommandEncoder

A instância na qual esse método opera.

heaps
IMTLHeap[]

Os heaps dos quais ler recursos que são encapsulados em um buffer de argumento.

count
System.System.UIntPtr System.unativeint

O número de heaps.

Atributos

Aplica-se a