public class SimpleBrightnessModel extends java.lang.Object implements CCRenderState.IVertexOperation
| Modifier and Type | Field and Description |
|---|---|
IBlockAccess |
access |
static SimpleBrightnessModel |
instance |
static int |
operationIndex |
BlockCoord |
pos |
| Constructor and Description |
|---|
SimpleBrightnessModel() |
| 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 |
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.
|
int |
sample(int side) |
public static final int operationIndex
public static SimpleBrightnessModel instance
public IBlockAccess access
public BlockCoord pos
public void locate(IBlockAccess a,
int x,
int y,
int z)
public int sample(int side)
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