public static class BlockRenderer.BlockFace extends java.lang.Object implements CCRenderState.IVertexSource
| Modifier and Type | Field and Description |
|---|---|
boolean |
lcComputed |
LC[] |
lightCoords |
int |
side |
Vertex5[] |
verts |
| Constructor and Description |
|---|
BlockFace() |
| Modifier and Type | Method and Description |
|---|---|
BlockRenderer.BlockFace |
computeLightCoords() |
<T> T |
getAttributes(CCRenderState.VertexAttribute<T> attr)
Gets an array of vertex attrutes
|
Vertex5[] |
getVertices() |
boolean |
hasAttribute(CCRenderState.VertexAttribute<?> attr) |
BlockRenderer.BlockFace |
loadCuboidFace(Cuboid6 c,
int side) |
void |
prepareVertex()
Callback to set CCRenderState for a vertex before the pipeline runs
|
public Vertex5[] verts
public LC[] lightCoords
public boolean lcComputed
public int side
public Vertex5[] getVertices()
getVertices in interface CCRenderState.IVertexSourcepublic <T> T getAttributes(CCRenderState.VertexAttribute<T> attr)
CCRenderState.IVertexSourcegetAttributes in interface CCRenderState.IVertexSourceT - The attrute array typeattr - The vertex attrute to getpublic boolean hasAttribute(CCRenderState.VertexAttribute<?> attr)
hasAttribute in interface CCRenderState.IVertexSourcepublic void prepareVertex()
CCRenderState.IVertexSourceprepareVertex in interface CCRenderState.IVertexSourcepublic BlockRenderer.BlockFace computeLightCoords()
public BlockRenderer.BlockFace loadCuboidFace(Cuboid6 c, int side)