Condividi tramite


MTLFunction_Extensions.CreateArgumentEncoder Metodo

Definizione

Overload

CreateArgumentEncoder(IMTLFunction, nuint)

Crea un nuovo codificatore di argomenti per l'indice del buffer specificato.

CreateArgumentEncoder(IMTLFunction, nuint, MTLArgument)

Crea un nuovo codificatore di argomenti per l'indice del buffer e l'argomento reflection specificati.

CreateArgumentEncoder(IMTLFunction, nuint)

Crea un nuovo codificatore di argomenti per l'indice del buffer specificato.

[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.IMTLFunction This, nuint bufferIndex);
static member CreateArgumentEncoder : Metal.IMTLFunction * nuint -> Metal.IMTLArgumentEncoder

Parametri

This
IMTLFunction

Istanza in cui opera questo metodo.

bufferIndex
System.System.UIntPtr System.unativeint

Indice in una funzione grafica o funzione di calcolo del buffer dell'argomento.

Restituisce

Attributi

Si applica a

CreateArgumentEncoder(IMTLFunction, nuint, MTLArgument)

Crea un nuovo codificatore di argomenti per l'indice del buffer e l'argomento reflection specificati.

[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.IMTLFunction This, nuint bufferIndex, out Metal.MTLArgument reflection);
static member CreateArgumentEncoder : Metal.IMTLFunction * nuint *  -> Metal.IMTLArgumentEncoder

Parametri

This
IMTLFunction

Istanza in cui opera questo metodo.

bufferIndex
System.System.UIntPtr System.unativeint

Indice in una funzione grafica o funzione di calcolo del buffer dell'argomento.

reflection
MTLArgument

Dati di reflection risultanti.

Restituisce

Attributi

Si applica a