Package apple.metal.protocol
Interface MTLRenderPipelineState
-
public interface MTLRenderPipelineState[@protocol] MTLRenderPipelineState MTLRenderPipelineState represents a compiled render pipeline MTLRenderPipelineState is a compiled render pipeline and can be set on a MTLRenderCommandEncoder.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MTLDevicedevice()longimageblockMemoryLengthForDimensions(MTLSize imageblockDimensions)imageblockMemoryLengthForDimensions:sampleCount: Returns imageblock memory length for given image block dimensions.longimageblockSampleLength()[@property] imageblockSampleLength Returns imageblock memory length used by a single sample when rendered using this pipeline.java.lang.Stringlabel()longmaxTotalThreadsPerThreadgroup()[@property] maxTotalThreadsPerThreadgroup The maximum total number of threads that can be in a single threadgroup.booleansupportIndirectCommandBuffers()booleanthreadgroupSizeMatchesTileSize()[@property] threadgroupSizeMatchesTileSize Returns true when the pipeline state requires a threadgroup size equal to the tile size
-
-
-
Method Detail
-
device
MTLDevice device()
-
label
java.lang.String label()
-
imageblockMemoryLengthForDimensions
long imageblockMemoryLengthForDimensions(MTLSize imageblockDimensions)
imageblockMemoryLengthForDimensions:sampleCount: Returns imageblock memory length for given image block dimensions. Dimensions must be valid tile dimensions.
-
imageblockSampleLength
long imageblockSampleLength()
[@property] imageblockSampleLength Returns imageblock memory length used by a single sample when rendered using this pipeline.
-
maxTotalThreadsPerThreadgroup
long maxTotalThreadsPerThreadgroup()
[@property] maxTotalThreadsPerThreadgroup The maximum total number of threads that can be in a single threadgroup.
-
threadgroupSizeMatchesTileSize
boolean threadgroupSizeMatchesTileSize()
[@property] threadgroupSizeMatchesTileSize Returns true when the pipeline state requires a threadgroup size equal to the tile size
-
supportIndirectCommandBuffers
boolean supportIndirectCommandBuffers()
-
-