public class VertexBufferConsumer extends java.lang.Object implements IVertexConsumer
Constructor and Description |
---|
VertexBufferConsumer(VertexBuffer renderer) |
Modifier and Type | Method and Description |
---|---|
VertexFormat |
getVertexFormat() |
void |
put(int e,
float... data) |
void |
setApplyDiffuseLighting(boolean diffuse) |
void |
setOffset(BlockPos offset) |
void |
setQuadOrientation(EnumFacing orientation) |
void |
setQuadTint(int tint) |
public VertexBufferConsumer(VertexBuffer renderer)
public VertexFormat getVertexFormat()
getVertexFormat
in interface IVertexConsumer
public void put(int e, float... data)
put
in interface IVertexConsumer
public void setOffset(BlockPos offset)
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