Package icyllis.arc3d.engine
Class PipelineDesc
java.lang.Object
icyllis.arc3d.engine.PipelineDesc
- Direct Known Subclasses:
GraphicsPipelineDesc
Abstract class that provides key and full information about a graphics pipeline
or a compute pipeline, except for render pass information.
Subclass must implement Object.hashCode()
and Object.equals(Object)
.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
static final class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract PipelineDesc
copy()
Makes a deep copy of this desc, it must be immutable before return.createGraphicsPipelineInfo
(Device device) Generates all info used to create graphics pipeline.int
Returns a bitfield that represents dynamic states of this pipeline.byte
-
Field Details
-
NO_DYNAMIC_STATE
public static final int NO_DYNAMIC_STATE- See Also:
-
DYNAMIC_COLOR_BLEND_STATE
public static final int DYNAMIC_COLOR_BLEND_STATE- See Also:
-
-
Constructor Details
-
PipelineDesc
public PipelineDesc()
-
-
Method Details
-
createGraphicsPipelineInfo
Generates all info used to create graphics pipeline. -
getPrimitiveType
public byte getPrimitiveType() -
getBlendInfo
-
getDepthStencilSettings
-
getDynamicStates
public int getDynamicStates()Returns a bitfield that represents dynamic states of this pipeline. These dynamic states must be supported by the backend.Viewport and scissor are always dynamic states.
-
copy
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.
-