Share via


IMTLComputeCommandEncoder.DispatchThreads(MTLSize, MTLSize) Method

Definition

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

Parameters

threadsPerGrid
MTLSize
threadsPerThreadgroup
MTLSize
Attributes

Applies to