public class PlanarLightModel extends java.lang.Object implements CCRenderState.IVertexOperation
| Modifier and Type | Field and Description |
|---|---|
int[] |
colours |
static PlanarLightModel |
standardLightModel |
| Constructor and Description |
|---|
PlanarLightModel(int[] colours) |
| Modifier and Type | Method and Description |
|---|---|
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 PlanarLightModel standardLightModel
public int[] colours
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