public class PlanarLightMatrix extends PlanarLightModel
| Modifier and Type | Field and Description |
|---|---|
IBlockAccess |
access |
int[] |
brightness |
static PlanarLightMatrix |
instance |
static int |
operationIndex |
BlockCoord |
pos |
colours, standardLightModel| Constructor and Description |
|---|
PlanarLightMatrix() |
| Modifier and Type | Method and Description |
|---|---|
int |
brightness(int side) |
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
|
PlanarLightMatrix |
locate(IBlockAccess a,
int x,
int y,
int z) |
void |
operate()
Perform the operation on the current render state
|
int |
operationID()
Get the unique id representing this type of operation.
|
public static final int operationIndex
public static PlanarLightMatrix instance
public IBlockAccess access
public BlockCoord pos
public int[] brightness
public PlanarLightMatrix locate(IBlockAccess a, int x, int y, int z)
public int brightness(int side)
public boolean load()
CCRenderState.IVertexOperationload in interface CCRenderState.IVertexOperationload in class PlanarLightModelpublic void operate()
CCRenderState.IVertexOperationoperate in interface CCRenderState.IVertexOperationoperate in class PlanarLightModelpublic int operationID()
CCRenderState.IVertexOperationoperationID in interface CCRenderState.IVertexOperationoperationID in class PlanarLightModel