Class ColourAttribute
java.lang.Object
codechicken.lib.render.pipeline.VertexAttribute<int[]>
codechicken.lib.render.pipeline.attribute.ColourAttribute
- All Implemented Interfaces:
IVertexOperation
Sets colour in CCRS to the specified colour in the model.
-
Nested Class Summary
Nested classes/interfaces inherited from interface codechicken.lib.render.pipeline.IVertexOperation
IVertexOperation.VertexOperationRegistry -
Field Summary
FieldsFields inherited from class codechicken.lib.render.pipeline.VertexAttribute
active -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanload(CCRenderState ccrs) Load any required references and add dependencies to the pipeline based on the current model (may be null) Return false if this operation is redundant in the pipeline with the given modelvoidoperate(CCRenderState ccrs) Perform the operation on the current render stateMethods inherited from class codechicken.lib.render.pipeline.VertexAttribute
operationID
-
Field Details
-
attributeKey
-
-
Constructor Details
-
ColourAttribute
public ColourAttribute()
-
-
Method Details
-
load
Description copied from interface:IVertexOperationLoad any required references and add dependencies to the pipeline based on the current model (may be null) Return false if this operation is redundant in the pipeline with the given model -
operate
Description copied from interface:IVertexOperationPerform the operation on the current render state
-