Class QuadGatheringTransformer
java.lang.Object
net.minecraftforge.client.model.pipeline.QuadGatheringTransformer
- All Implemented Interfaces:
IVertexConsumer
- Direct Known Subclasses:
VertexLighterFlat
-
Field Summary
Modifier and TypeFieldDescriptionprotected byte[]
protected VertexFormat
protected IVertexConsumer
protected float[][][]
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
void
put
(int element, float... data) void
setParent
(IVertexConsumer parent) void
setVertexFormat
(VertexFormat format) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.client.model.pipeline.IVertexConsumer
setApplyDiffuseLighting, setQuadOrientation, setQuadTint, setTexture
-
Field Details
-
parent
-
format
-
vertices
protected int vertices -
dataLength
protected byte[] dataLength -
quadData
protected float[][][] quadData
-
-
Constructor Details
-
QuadGatheringTransformer
public QuadGatheringTransformer()
-
-
Method Details
-
setParent
-
setVertexFormat
-
getVertexFormat
- Specified by:
getVertexFormat
in interfaceIVertexConsumer
- Returns:
- the format that should be used for passed data.
-
put
public void put(int element, float... data) - Specified by:
put
in interfaceIVertexConsumer
-
processQuad
protected abstract void processQuad()
-