Class QuadGatheringTransformer
java.lang.Object
net.minecraftforge.client.model.pipeline.QuadGatheringTransformer
- All Implemented Interfaces:
IVertexConsumer
- Direct Known Subclasses:
VertexLighterFlat
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected byte[]protected VertexFormatprotected IVertexConsumerprotected float[][][]protected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidvoidput(int element, float... data) voidsetParent(IVertexConsumer parent) voidsetVertexFormat(VertexFormat format) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getVertexFormatin interfaceIVertexConsumer- Returns:
- the format that should be used for passed data.
-
put
public void put(int element, float... data) - Specified by:
putin interfaceIVertexConsumer
-
processQuad
protected abstract void processQuad()
-