Class LightCoordAttribute
java.lang.Object
codechicken.lib.render.pipeline.VertexAttribute<LC[]>
codechicken.lib.render.pipeline.attribute.LightCoordAttribute
- All Implemented Interfaces:
IVertexOperation
Uses the position of the lightmatrix to compute LC if not provided
-
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
-
LightCoordAttribute
public LightCoordAttribute()
-
-
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
-