Share via


IMTLComputeCommandEncoder.DispatchThreadgroups Method

Definition

Overloads

DispatchThreadgroups(MTLSize, MTLSize)

[Foundation.Export("dispatchThreadgroups:threadsPerThreadgroup:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DispatchThreadgroups(Metal.MTLSize threadgroupsPerGrid, Metal.MTLSize threadsPerThreadgroup);
[<Foundation.Export("dispatchThreadgroups:threadsPerThreadgroup:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DispatchThreadgroups : Metal.MTLSize * Metal.MTLSize -> unit
override this.DispatchThreadgroups : Metal.MTLSize * Metal.MTLSize -> unit

Parameters

threadgroupsPerGrid
MTLSize
threadsPerThreadgroup
MTLSize
Attributes

Applies to

DispatchThreadgroups(IMTLBuffer, UIntPtr, MTLSize)

[Foundation.Export("dispatchThreadgroupsWithIndirectBuffer:indirectBufferOffset:threadsPerThreadgroup:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DispatchThreadgroups(Metal.IMTLBuffer indirectBuffer, UIntPtr indirectBufferOffset, Metal.MTLSize threadsPerThreadgroup);
[<Foundation.Export("dispatchThreadgroupsWithIndirectBuffer:indirectBufferOffset:threadsPerThreadgroup:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DispatchThreadgroups : Metal.IMTLBuffer * unativeint * Metal.MTLSize -> unit
override this.DispatchThreadgroups : Metal.IMTLBuffer * unativeint * Metal.MTLSize -> unit

Parameters

indirectBuffer
IMTLBuffer
indirectBufferOffset
UIntPtr

unativeint

threadsPerThreadgroup
MTLSize
Attributes

Applies to