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) |
protected final IVertexConsumer parent
public VertexTransformer(IVertexConsumer parent)
public VertexFormat getVertexFormat()
getVertexFormat
in interface IVertexConsumer
public void setQuadTint(int tint)
setQuadTint
in interface IVertexConsumer
public void setQuadOrientation(EnumFacing orientation)
setQuadOrientation
in interface IVertexConsumer
public void setApplyDiffuseLighting(boolean diffuse)
setApplyDiffuseLighting
in interface IVertexConsumer
public void put(int element, float... data)
put
in interface IVertexConsumer