MTLFunction_Extensions.CreateArgumentEncoder Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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