Share via


IMTL4ComputeCommandEncoder.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(UInt64, MTLSize)

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

Parameters

indirectBuffer
UInt64
threadsPerThreadgroup
MTLSize
Attributes

Applies to