Class QuadGatheringTransformer
- java.lang.Object
-
- net.minecraftforge.client.model.pipeline.QuadGatheringTransformer
-
- All Implemented Interfaces:
IVertexConsumer
- Direct Known Subclasses:
VertexLighterFlat
public abstract class QuadGatheringTransformer extends java.lang.Object implements IVertexConsumer
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
dataLength
protected VertexFormat
format
protected IVertexConsumer
parent
protected float[][][]
quadData
protected int
vertices
-
Constructor Summary
Constructors Constructor Description QuadGatheringTransformer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description VertexFormat
getVertexFormat()
protected abstract void
processQuad()
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 Detail
-
parent
protected IVertexConsumer parent
-
format
protected VertexFormat format
-
vertices
protected int vertices
-
dataLength
protected byte[] dataLength
-
quadData
protected float[][][] quadData
-
-
Method Detail
-
setParent
public void setParent(IVertexConsumer parent)
-
setVertexFormat
public void setVertexFormat(VertexFormat format)
-
getVertexFormat
public VertexFormat 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()
-
-