public class VertexTransformer extends java.lang.Object implements IVertexConsumer
| Modifier and Type | Field and Description |
|---|---|
protected IVertexConsumer |
parent |
| Constructor and Description |
|---|
VertexTransformer(IVertexConsumer parent) |
| Modifier and Type | Method and Description |
|---|---|
VertexFormat |
getVertexFormat() |
void |
put(int element,
float... data) |
void |
setApplyDiffuseLighting(boolean diffuse) |
void |
setQuadOrientation(EnumFacing orientation) |
void |
setQuadTint(int tint) |
void |
setTexture(TextureAtlasSprite texture) |
protected final IVertexConsumer parent
public VertexTransformer(IVertexConsumer parent)
public VertexFormat getVertexFormat()
getVertexFormat in interface IVertexConsumerpublic void setQuadTint(int tint)
setQuadTint in interface IVertexConsumerpublic void setTexture(TextureAtlasSprite texture)
setTexture in interface IVertexConsumerpublic void setQuadOrientation(EnumFacing orientation)
setQuadOrientation in interface IVertexConsumerpublic void setApplyDiffuseLighting(boolean diffuse)
setApplyDiffuseLighting in interface IVertexConsumerpublic void put(int element,
float... data)
put in interface IVertexConsumer