MTLLibrary_Extensions.CreateFunction 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
CreateFunction(IMTLLibrary, String, MTLFunctionConstantValues, NSError) | |
CreateFunction(IMTLLibrary, String, MTLFunctionConstantValues, Action<IMTLFunction,NSError>) |
CreateFunction(IMTLLibrary, String, MTLFunctionConstantValues, NSError)
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Metal.IMTLFunction CreateFunction (this Metal.IMTLLibrary This, string name, Metal.MTLFunctionConstantValues constantValues, out Foundation.NSError error);
static member CreateFunction : Metal.IMTLLibrary * string * Metal.MTLFunctionConstantValues * -> Metal.IMTLFunction
Parametri
- This
- IMTLLibrary
Istanza in cui opera questo metodo.
- name
- String
- constantValues
- MTLFunctionConstantValues
- error
- NSError
Restituisce
- Attributi
Si applica a
CreateFunction(IMTLLibrary, String, MTLFunctionConstantValues, Action<IMTLFunction,NSError>)
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void CreateFunction (this Metal.IMTLLibrary This, string name, Metal.MTLFunctionConstantValues constantValues, Action<Metal.IMTLFunction,Foundation.NSError> completionHandler);
static member CreateFunction : Metal.IMTLLibrary * string * Metal.MTLFunctionConstantValues * Action<Metal.IMTLFunction, Foundation.NSError> -> unit
Parametri
- This
- IMTLLibrary
Istanza in cui opera questo metodo.
- name
- String
- constantValues
- MTLFunctionConstantValues
- completionHandler
- Action<IMTLFunction,NSError>
- Attributi