IMTLDevice.CreateLibrary Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
CreateLibrary(String, MTLCompileOptions, Action<IMTLLibrary,NSError>) | |
CreateLibrary(String, MTLCompileOptions, NSError) | |
CreateLibrary(NSObject, NSError) | |
CreateLibrary(String, NSError) |
CreateLibrary(String, MTLCompileOptions, Action<IMTLLibrary,NSError>)
[Foundation.Export("newLibraryWithSource:options:completionHandler:")]
[Foundation.Preserve(Conditional=true)]
public void CreateLibrary (string source, Metal.MTLCompileOptions options, Action<Metal.IMTLLibrary,Foundation.NSError> completionHandler);
abstract member CreateLibrary : string * Metal.MTLCompileOptions * Action<Metal.IMTLLibrary, Foundation.NSError> -> unit
Parámetros
- source
- String
- options
- MTLCompileOptions
- completionHandler
- Action<IMTLLibrary,NSError>
- Atributos
Se aplica a
CreateLibrary(String, MTLCompileOptions, NSError)
[Foundation.Export("newLibraryWithSource:options:error:")]
[Foundation.Preserve(Conditional=true)]
public Metal.IMTLLibrary CreateLibrary (string source, Metal.MTLCompileOptions options, out Foundation.NSError error);
abstract member CreateLibrary : string * Metal.MTLCompileOptions * -> Metal.IMTLLibrary
Parámetros
- source
- String
- options
- MTLCompileOptions
- error
- NSError
Devoluciones
- Atributos
Se aplica a
CreateLibrary(NSObject, NSError)
[Foundation.Export("newLibraryWithData:error:")]
[Foundation.Preserve(Conditional=true)]
public Metal.IMTLLibrary CreateLibrary (Foundation.NSObject data, out Foundation.NSError error);
abstract member CreateLibrary : Foundation.NSObject * -> Metal.IMTLLibrary
Parámetros
- data
- NSObject
- error
- NSError
Devoluciones
- Atributos
Se aplica a
CreateLibrary(String, NSError)
[Foundation.Export("newLibraryWithFile:error:")]
[Foundation.Preserve(Conditional=true)]
public Metal.IMTLLibrary CreateLibrary (string filepath, out Foundation.NSError error);
abstract member CreateLibrary : string * -> Metal.IMTLLibrary
Parámetros
- filepath
- String
- error
- NSError
Devoluciones
- Atributos