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
    Modifier and Type
    Interface
    Description
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    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
    void
    Perform the operation on the current render state
    static int
     
    int
    Get the unique id representing this type of operation.
    static int
     
  • Method Details

    • registerOperation

      static int registerOperation()
    • operationCount

      static int operationCount()
    • load

      boolean load(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 model
    • operate

      void operate(CCRenderState ccrs)
      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