public class UnpackedBakedQuad extends BakedQuad
Modifier and Type | Class and Description |
---|---|
static class |
UnpackedBakedQuad.Builder |
static class |
UnpackedBakedQuad.Colored |
Modifier and Type | Field and Description |
---|---|
protected VertexFormat |
format |
protected boolean |
packed |
protected float[][][] |
unpackedData |
face, tintIndex, vertexData
Constructor and Description |
---|
UnpackedBakedQuad(float[][][] unpackedData,
int tint,
EnumFacing orientation,
VertexFormat format) |
Modifier and Type | Method and Description |
---|---|
int[] |
getVertexData() |
void |
pipe(IVertexConsumer consumer)
Joined 4 vertex records, each has 7 fields (x, y, z, shadeColor, u, v,
|
getFace, getTintIndex, hasTintIndex
protected final float[][][] unpackedData
protected final VertexFormat format
protected boolean packed
public UnpackedBakedQuad(float[][][] unpackedData, int tint, EnumFacing orientation, VertexFormat format)
public int[] getVertexData()
getVertexData
in class BakedQuad
public void pipe(IVertexConsumer consumer)
BakedQuad
pipe
in interface IVertexProducer
pipe
in class BakedQuad
consumer
- consumer to receive the vertex data this producer can provide