接口 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
-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明booleanload(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
-
方法详细资料
-
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
-