Compartir a través de


MTLFunction_Extensions.CreateArgumentEncoder Método

Definición

Sobrecargas

CreateArgumentEncoder(IMTLFunction, nuint)

Crea un nuevo codificador de argumentos para el índice de búfer especificado.

CreateArgumentEncoder(IMTLFunction, nuint, MTLArgument)

Crea un nuevo codificador de argumentos para el índice de búfer y el argumento de reflexión especificados.

CreateArgumentEncoder(IMTLFunction, nuint)

Crea un nuevo codificador de argumentos para el índice de búfer especificado.

[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

Parámetros

This
IMTLFunction

Instancia en la que opera este método.

bufferIndex
System.System.UIntPtr System.unativeint

Indexe en una función gráfica o función de proceso del búfer de argumentos.

Devoluciones

Atributos

Se aplica a

CreateArgumentEncoder(IMTLFunction, nuint, MTLArgument)

Crea un nuevo codificador de argumentos para el índice de búfer y el argumento de reflexión especificados.

[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

Parámetros

This
IMTLFunction

Instancia en la que opera este método.

bufferIndex
System.System.UIntPtr System.unativeint

Indexe en una función gráfica o función de proceso del búfer de argumentos.

reflection
MTLArgument

Los datos de reflexión resultantes.

Devoluciones

Atributos

Se aplica a