Package apple.metal.protocol
Interface MTLIndirectComputeCommand
-
public interface MTLIndirectComputeCommandAPI-Since: 13.0
-
-
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(@NotNull MTLComputePipelineState pipelineState)API-Since: 13.0voidsetImageblockWidthHeight(long width, long height)API-Since: 14.0voidsetKernelBufferOffsetAtIndex(@NotNull MTLBuffer buffer, long offset, long index)voidsetKernelBufferOffsetAttributeStrideAtIndex(@NotNull MTLBuffer buffer, long offset, long stride, long index)sets kernel buffer at specified index with provided offset and stride.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(@NotNull @NotNull MTLComputePipelineState pipelineState)API-Since: 13.0
-
setKernelBufferOffsetAtIndex
void setKernelBufferOffsetAtIndex(@NotNull @NotNull 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)API-Since: 14.0
-
setKernelBufferOffsetAttributeStrideAtIndex
void setKernelBufferOffsetAttributeStrideAtIndex(@NotNull @NotNull MTLBuffer buffer, long offset, long stride, long index)sets kernel buffer at specified index with provided offset and stride. only call this when the buffer-index is part of the stageInputDescriptor and has set its stride to `MTLBufferLayoutStrideDynamic` API-Since: 17.0
-
-