Package icyllis.arc3d.granite
Class GraphicsPipelineDesc
java.lang.Object
icyllis.arc3d.engine.PipelineDesc
icyllis.arc3d.granite.GraphicsPipelineDesc
Descriptor of a graphics pipeline in Granite Renderer.
-
Nested Class Summary
Nested classes/interfaces inherited from class icyllis.arc3d.engine.PipelineDesc
PipelineDesc.GraphicsPipelineInfo, PipelineDesc.SamplerInfo, PipelineDesc.UniformBlockInfo
-
Field Summary
Fields inherited from class icyllis.arc3d.engine.PipelineDesc
DYNAMIC_COLOR_BLEND_STATE, NO_DYNAMIC_STATE
-
Constructor Summary
ConstructorDescriptionGraphicsPipelineDesc
(GeometryStep geometryStep, Key paintParamsKey, BlendMode finalBlendMode, boolean useFastSolidColor) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Makes a deep copy of this desc, it must be immutable before return.createGraphicsPipelineInfo
(Device device) Generates all info used to create graphics pipeline.boolean
geomStep()
byte
getRootNodes
(ShaderCodeSource codeSource, StringBuilder label) int
hashCode()
boolean
boolean
set
(GeometryStep geometryStep, KeyBuilder paintParamsKey, BlendMode finalBlendMode, boolean useFastSolidColor) boolean
Methods inherited from class icyllis.arc3d.engine.PipelineDesc
getDynamicStates
-
Constructor Details
-
GraphicsPipelineDesc
public GraphicsPipelineDesc() -
GraphicsPipelineDesc
public GraphicsPipelineDesc(GeometryStep geometryStep, Key paintParamsKey, @Nullable BlendMode finalBlendMode, boolean useFastSolidColor)
-
-
Method Details
-
set
public GraphicsPipelineDesc set(GeometryStep geometryStep, KeyBuilder paintParamsKey, @Nullable BlendMode finalBlendMode, boolean useFastSolidColor) -
geomStep
-
getPaintParamsKey
-
getFinalBlendMode
-
usesFastSolidColor
public boolean usesFastSolidColor() -
mayRequireLocalCoords
public boolean mayRequireLocalCoords() -
getRootNodes
-
isDepthOnlyPass
public boolean isDepthOnlyPass() -
createGraphicsPipelineInfo
Description copied from class:PipelineDesc
Generates all info used to create graphics pipeline.- Overrides:
createGraphicsPipelineInfo
in classPipelineDesc
-
getPrimitiveType
public byte getPrimitiveType()- Overrides:
getPrimitiveType
in classPipelineDesc
-
getBlendInfo
- Overrides:
getBlendInfo
in classPipelineDesc
-
getDepthStencilSettings
- Overrides:
getDepthStencilSettings
in classPipelineDesc
-
copy
Description copied from class:PipelineDesc
Makes a deep copy of this desc, it must be immutable before return. No need to make its fields visible to all threads. If this desc is already immutable then subclass may return this.The
Object.hashCode()
andObject.equals(Object)
of this and return value must be consistent.- Specified by:
copy
in classPipelineDesc
-
hashCode
public int hashCode() -
equals
-