Condividi tramite


MTLDevice_Extensions.CreateArgumentEncoder Metodo

Definizione

Crea un codificatore per la matrice di argomenti specificata.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, 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 Metal.IMTLArgumentEncoder CreateArgumentEncoder (this Metal.IMTLDevice This, Metal.MTLArgumentDescriptor[] arguments);
static member CreateArgumentEncoder : Metal.IMTLDevice * Metal.MTLArgumentDescriptor[] -> Metal.IMTLArgumentEncoder

Parametri

This
IMTLDevice

Istanza in cui opera questo metodo.

arguments
MTLArgumentDescriptor[]

Matrice di argomenti all'interno di un buffer.

Restituisce

Attributi

Si applica a