IMTLComputeCommandEncoder.DispatchThreadgroups 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 |
|---|---|
| DispatchThreadgroups(MTLSize, MTLSize) | |
| DispatchThreadgroups(IMTLBuffer, UIntPtr, MTLSize) |
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