public class ColourMultiplier extends java.lang.Object implements CCRenderState.IVertexOperation
| Modifier and Type | Field and Description |
|---|---|
int |
colour |
static int |
operationIndex |
| Constructor and Description |
|---|
ColourMultiplier(int colour) |
| Modifier and Type | Method and Description |
|---|---|
static ColourMultiplier |
instance(int colour) |
boolean |
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
|
void |
operate()
Perform the operation on the current render state
|
int |
operationID()
Get the unique id representing this type of operation.
|
public static ColourMultiplier instance(int colour)
public boolean load()
CCRenderState.IVertexOperationload in interface CCRenderState.IVertexOperationpublic void operate()
CCRenderState.IVertexOperationoperate in interface CCRenderState.IVertexOperationpublic int operationID()
CCRenderState.IVertexOperationoperationID in interface CCRenderState.IVertexOperation