Class VertexTransformer
java.lang.Object
net.minecraftforge.client.model.pipeline.VertexTransformer
- All Implemented Interfaces:
IVertexConsumer
- Direct Known Subclasses:
LightUtil.ItemConsumer
,TRSRTransformer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
put(int element, float... data)
void
setApplyDiffuseLighting(boolean diffuse)
void
setQuadOrientation(Direction orientation)
void
setQuadTint(int tint)
void
setTexture(TextureAtlasSprite texture)
-
Field Details
-
parent
-
-
Constructor Details
-
VertexTransformer
-
-
Method Details
-
getVertexFormat
- Specified by:
getVertexFormat
in interfaceIVertexConsumer
- Returns:
- the format that should be used for passed data.
-
setQuadTint
public void setQuadTint(int tint)- Specified by:
setQuadTint
in interfaceIVertexConsumer
-
setTexture
- Specified by:
setTexture
in interfaceIVertexConsumer
-
setQuadOrientation
- Specified by:
setQuadOrientation
in interfaceIVertexConsumer
-
setApplyDiffuseLighting
public void setApplyDiffuseLighting(boolean diffuse)- Specified by:
setApplyDiffuseLighting
in interfaceIVertexConsumer
-
put
public void put(int element, float... data)- Specified by:
put
in interfaceIVertexConsumer
-