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(Direction orientation) |
void |
setQuadTint(int tint) |
void |
setTexture(TextureAtlasSprite texture) |
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 setTexture(TextureAtlasSprite texture)
setTexture
in interface IVertexConsumer
public void setQuadOrientation(Direction 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