IMTL4CommandQueue.Commit 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 |
|---|---|
| Commit(IMTL4CommandBuffer[]) |
Queue an array of command buffers for execution. |
| Commit(MTL4CommitOptions, IMTL4CommandBuffer[]) |
Queue an array of command buffers for execution. |
| Commit(IntPtr, UIntPtr) | |
| Commit(IntPtr, UIntPtr, MTL4CommitOptions) |
Commit(IMTL4CommandBuffer[])
Queue an array of command buffers for execution.
public virtual void Commit(params Metal.IMTL4CommandBuffer[] commandBuffers);
abstract member Commit : Metal.IMTL4CommandBuffer[] -> unit
override this.Commit : Metal.IMTL4CommandBuffer[] -> unit
Parameters
- commandBuffers
- IMTL4CommandBuffer[]
The array of command buffers to queue for execution.
Applies to
Commit(MTL4CommitOptions, IMTL4CommandBuffer[])
Queue an array of command buffers for execution.
public virtual void Commit(Metal.MTL4CommitOptions options, params Metal.IMTL4CommandBuffer[] commandBuffers);
abstract member Commit : Metal.MTL4CommitOptions * Metal.IMTL4CommandBuffer[] -> unit
override this.Commit : Metal.MTL4CommitOptions * Metal.IMTL4CommandBuffer[] -> unit
Parameters
- options
- MTL4CommitOptions
Any options to configure the operation.
- commandBuffers
- IMTL4CommandBuffer[]
The array of command buffers to queue for execution.
Applies to
Commit(IntPtr, UIntPtr)
[Foundation.Export("commit:count:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Commit(IntPtr commandBuffers, UIntPtr count);
[<Foundation.Export("commit:count:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Commit : nativeint * unativeint -> unit
override this.Commit : nativeint * unativeint -> unit
Parameters
- commandBuffers
-
IntPtr
nativeint
- count
-
UIntPtr
unativeint
- Attributes
Applies to
Commit(IntPtr, UIntPtr, MTL4CommitOptions)
[Foundation.Export("commit:count:options:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Commit(IntPtr commandBuffers, UIntPtr count, Metal.MTL4CommitOptions options);
[<Foundation.Export("commit:count:options:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Commit : nativeint * unativeint * Metal.MTL4CommitOptions -> unit
override this.Commit : nativeint * unativeint * Metal.MTL4CommitOptions -> unit
Parameters
- commandBuffers
-
IntPtr
nativeint
- count
-
UIntPtr
unativeint
- options
- MTL4CommitOptions
- Attributes