Package apple.metal.protocol
Interface MTLIndirectComputeCommand
-
public interface MTLIndirectComputeCommand
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearBarrier()voidconcurrentDispatchThreadgroupsThreadsPerThreadgroup(MTLSize threadgroupsPerGrid, MTLSize threadsPerThreadgroup)voidconcurrentDispatchThreadsThreadsPerThreadgroup(MTLSize threadsPerGrid, MTLSize threadsPerThreadgroup)voidreset()voidsetBarrier()voidsetComputePipelineState(MTLComputePipelineState pipelineState)voidsetImageblockWidthHeight(long width, long height)voidsetKernelBufferOffsetAtIndex(MTLBuffer buffer, long offset, long index)voidsetStageInRegion(MTLRegion region)voidsetThreadgroupMemoryLengthAtIndex(long length, long index)
-
-
-
Method Detail
-
clearBarrier
void clearBarrier()
-
concurrentDispatchThreadgroupsThreadsPerThreadgroup
void concurrentDispatchThreadgroupsThreadsPerThreadgroup(MTLSize threadgroupsPerGrid, MTLSize threadsPerThreadgroup)
-
concurrentDispatchThreadsThreadsPerThreadgroup
void concurrentDispatchThreadsThreadsPerThreadgroup(MTLSize threadsPerGrid, MTLSize threadsPerThreadgroup)
-
reset
void reset()
-
setBarrier
void setBarrier()
-
setComputePipelineState
void setComputePipelineState(MTLComputePipelineState pipelineState)
-
setKernelBufferOffsetAtIndex
void setKernelBufferOffsetAtIndex(MTLBuffer buffer, long offset, long index)
-
setStageInRegion
void setStageInRegion(MTLRegion region)
-
setThreadgroupMemoryLengthAtIndex
void setThreadgroupMemoryLengthAtIndex(long length, long index)
-
setImageblockWidthHeight
void setImageblockWidthHeight(long width, long height)
-
-