public static class BlockRenderer.FullBlock extends java.lang.Object implements CCRenderState.IVertexSource
| Modifier and Type | Field and Description |
|---|---|
LC[] |
lightCoords |
Vertex5[] |
verts |
| Constructor and Description |
|---|
FullBlock() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getAttributes(CCRenderState.VertexAttribute<T> attr)
Gets an array of vertex attrutes
|
Vertex5[] |
getVertices() |
boolean |
hasAttribute(CCRenderState.VertexAttribute<?> attr) |
void |
prepareVertex()
Callback to set CCRenderState for a vertex before the pipeline runs
|
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.IVertexSource