Package codechicken.lib.render.pipeline
Interface IVertexOperation
- All Known Implementing Classes:
ColourAttribute,ColourMultiplier,IconTransformation,LightCoordAttribute,LightingAttribute,LightMatrix,LightModel,Matrix4,MultiIconTransformation,NormalAttribute,PlanarLightMatrix,PlanarLightModel,RedundantTransformation,Rotation,Scale,ScaledIconTransformation,SideAttribute,SimpleBrightnessModel,SwapYZ,Transformation,TransformationList,Translation,UVRotation,UVScale,UVTransformation,UVTransformationList,UVTranslation,VariableTransformation,VertexAttribute
public interface IVertexOperation
Represents an operation to be run for each vertex that operates on and modifies the current state
-
Nested Class Summary
Nested Classes -
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 statestatic intintGet the unique id representing this type of operation.static int
-
Method Details
-
registerOperation
static int registerOperation() -
operationCount
static int operationCount() -
load
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 model -
operate
Perform the operation on the current render state -
operationID
int operationID()Get the unique id representing this type of operation. Duplicate operation IDs within the pipeline may have unexpected results. ID should be obtained from CCRenderState.registerOperation() and stored in a static variable
-