接口 IVertexOperation

所有已知实现类:
ColourAttribute, IconTransformation, LightCoordAttribute, LightingAttribute, LightMatrix, LightModel, Matrix4, MultiIconTransformation, NormalAttribute, PlanarLightModel, RedundantTransformation, Rotation, Scale, ScaledIconTransformation, SideAttribute, 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
  • 嵌套类概要

    嵌套类
    修饰符和类型
    接口
    说明
    static class 
     
  • 方法概要

    修饰符和类型
    方法
    说明
    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
     
  • 方法详细资料

    • 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