IMTLDevice.CreateLibrary Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- source
- String
- options
- MTLCompileOptions
- completionHandler
- Action<IMTLLibrary,NSError>
- Attributes
Applies to
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
Parameters
- source
- String
- options
- MTLCompileOptions
- error
- NSError
Returns
- Attributes
Applies to
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
Parameters
- data
- NSObject
- error
- NSError
Returns
- Attributes
Applies to
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
Parameters
- filepath
- String
- error
- NSError
Returns
- Attributes