MTLDevice_Extensions.CreateLibraryAsync 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
| Name | Description |
|---|---|
| CreateLibraryAsync(IMTLDevice, MTLStitchedLibraryDescriptor) | |
| CreateLibraryAsync(IMTLDevice, String, MTLCompileOptions) |
CreateLibraryAsync(IMTLDevice, MTLStitchedLibraryDescriptor)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static System.Threading.Tasks.Task<Metal.IMTLLibrary> CreateLibraryAsync(this Metal.IMTLDevice This, Metal.MTLStitchedLibraryDescriptor descriptor);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateLibraryAsync : Metal.IMTLDevice * Metal.MTLStitchedLibraryDescriptor -> System.Threading.Tasks.Task<Metal.IMTLLibrary>
Parameters
- This
- IMTLDevice
- descriptor
- MTLStitchedLibraryDescriptor
Returns
- Attributes
Applies to
CreateLibraryAsync(IMTLDevice, String, MTLCompileOptions)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static System.Threading.Tasks.Task<Metal.IMTLLibrary> CreateLibraryAsync(this Metal.IMTLDevice This, string source, Metal.MTLCompileOptions options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateLibraryAsync : Metal.IMTLDevice * string * Metal.MTLCompileOptions -> System.Threading.Tasks.Task<Metal.IMTLLibrary>
Parameters
- This
- IMTLDevice
- source
- String
- options
- MTLCompileOptions
Returns
- Attributes