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