Compartir a través de


MTLDevice_Extensions.CreateArgumentEncoder Método

Definición

Crea un codificador para la matriz de argumentos especificada.

[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

Parámetros

This
IMTLDevice

Instancia en la que opera este método.

arguments
MTLArgumentDescriptor[]

Matriz de argumentos dentro de un búfer.

Devoluciones

Atributos

Se aplica a