Share via


IMTL4ComputeCommandEncoder.DispatchThreads Method

Definition

Overloads

DispatchThreads(MTLSize, MTLSize)

[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

DispatchThreads(UInt64)

[Foundation.Export("dispatchThreadsWithIndirectBuffer:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DispatchThreads(ulong indirectBuffer);
[<Foundation.Export("dispatchThreadsWithIndirectBuffer:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DispatchThreads : uint64 -> unit
override this.DispatchThreads : uint64 -> unit

Parameters

indirectBuffer
UInt64
Attributes

Applies to