IMTLDevice.CreateCompiler(MTL4CompilerDescriptor, NSError) 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.
[Foundation.Export("newCompilerWithDescriptor:error:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Metal.IMTL4Compiler? CreateCompiler(Metal.MTL4CompilerDescriptor descriptor, out Foundation.NSError? error);
[<Foundation.Export("newCompilerWithDescriptor:error:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateCompiler : Metal.MTL4CompilerDescriptor * NSError -> Metal.IMTL4Compiler
override this.CreateCompiler : Metal.MTL4CompilerDescriptor * NSError -> Metal.IMTL4Compiler
Parameters
- descriptor
- MTL4CompilerDescriptor
- error
- NSError
Returns
- Attributes