IMTLDevice.CreateCommandAllocator 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 |
|---|---|
| CreateCommandAllocator() | |
| CreateCommandAllocator(MTL4CommandAllocatorDescriptor, NSError) |
CreateCommandAllocator()
[Foundation.Export("newCommandAllocator")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Metal.IMTL4CommandAllocator? CreateCommandAllocator();
[<Foundation.Export("newCommandAllocator")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateCommandAllocator : unit -> Metal.IMTL4CommandAllocator
override this.CreateCommandAllocator : unit -> Metal.IMTL4CommandAllocator
Returns
- Attributes
Applies to
CreateCommandAllocator(MTL4CommandAllocatorDescriptor, NSError)
[Foundation.Export("newCommandAllocatorWithDescriptor:error:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Metal.IMTL4CommandAllocator? CreateCommandAllocator(Metal.MTL4CommandAllocatorDescriptor descriptor, out Foundation.NSError? error);
[<Foundation.Export("newCommandAllocatorWithDescriptor:error:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateCommandAllocator : Metal.MTL4CommandAllocatorDescriptor * NSError -> Metal.IMTL4CommandAllocator
override this.CreateCommandAllocator : Metal.MTL4CommandAllocatorDescriptor * NSError -> Metal.IMTL4CommandAllocator
Parameters
- descriptor
- MTL4CommandAllocatorDescriptor
- error
- NSError
Returns
- Attributes