public interface MTLRenderPipelineState
MTLRenderPipelineState represents a compiled render pipeline
MTLRenderPipelineState is a compiled render pipeline and can be set on a MTLRenderCommandEncoder.
| Modifier and Type | Method and Description |
|---|---|
MTLDevice |
device() |
MTLFunctionHandle |
functionHandleWithFunctionStage(MTLFunction function,
long stage)
functionHandleWithFunction:stage:
|
long |
imageblockMemoryLengthForDimensions(MTLSize imageblockDimensions)
imageblockMemoryLengthForDimensions:sampleCount:
|
long |
imageblockSampleLength()
[@property] imageblockSampleLength
|
java.lang.String |
label() |
long |
maxTotalThreadsPerThreadgroup()
[@property] maxTotalThreadsPerThreadgroup
|
MTLIntersectionFunctionTable |
newIntersectionFunctionTableWithDescriptorStage(MTLIntersectionFunctionTableDescriptor descriptor,
long stage)
newIntersectionFunctionTableWithDescriptor:stage:
|
MTLRenderPipelineState |
newRenderPipelineStateWithAdditionalBinaryFunctionsError(MTLRenderPipelineFunctionsDescriptor additionalBinaryFunctions,
org.moe.natj.general.ptr.Ptr<NSError> error)
newRenderPipelineStateWithAdditionalBinaryFunctions:error:
|
MTLVisibleFunctionTable |
newVisibleFunctionTableWithDescriptorStage(MTLVisibleFunctionTableDescriptor descriptor,
long stage)
newVisibleFunctionTableWithDescriptor:stage:
|
boolean |
supportIndirectCommandBuffers() |
boolean |
threadgroupSizeMatchesTileSize()
[@property] threadgroupSizeMatchesTileSize
|
MTLDevice device()
java.lang.String label()
long imageblockMemoryLengthForDimensions(MTLSize imageblockDimensions)
Returns imageblock memory length for given image block dimensions. Dimensions must be valid tile dimensions.
long imageblockSampleLength()
Returns imageblock memory length used by a single sample when rendered using this pipeline.
long maxTotalThreadsPerThreadgroup()
The maximum total number of threads that can be in a single tile shader threadgroup.
boolean threadgroupSizeMatchesTileSize()
Returns true when the pipeline state requires a tile shader threadgroup size equal to the tile size
boolean supportIndirectCommandBuffers()
MTLFunctionHandle functionHandleWithFunctionStage(MTLFunction function, long stage)
Gets the function handle for the specified function on the specified stage of the pipeline.
MTLIntersectionFunctionTable newIntersectionFunctionTableWithDescriptorStage(MTLIntersectionFunctionTableDescriptor descriptor, long stage)
Allocate an intersection function table for the specified stage of the pipeline with the provided descriptor.
MTLRenderPipelineState newRenderPipelineStateWithAdditionalBinaryFunctionsError(MTLRenderPipelineFunctionsDescriptor additionalBinaryFunctions, org.moe.natj.general.ptr.Ptr<NSError> error)
Allocate a new render pipeline state by adding binary functions for each stage of this pipeline state.
MTLVisibleFunctionTable newVisibleFunctionTableWithDescriptorStage(MTLVisibleFunctionTableDescriptor descriptor, long stage)
Allocate a visible function table for the specified stage of the pipeline with the provided descriptor.