Class TransformerConsumer
- java.lang.Object
-
- net.minecraftforge.client.model.pipeline.TransformerConsumer
-
- All Implemented Interfaces:
IVertexConsumer
public abstract class TransformerConsumer extends java.lang.Object implements IVertexConsumer
-
-
Field Summary
Fields Modifier and Type Field Description private IVertexConsumer
parent
-
Constructor Summary
Constructors Modifier Constructor Description protected
TransformerConsumer(IVertexConsumer parent)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description VertexFormat
getVertexFormat()
void
put(int element, float... data)
protected abstract float[]
transform(int element, float... data)
-
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
private IVertexConsumer parent
-
-
Constructor Detail
-
TransformerConsumer
protected TransformerConsumer(IVertexConsumer parent)
-
-
Method Detail
-
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
-
transform
protected abstract float[] transform(int element, float... data)
-
-