Interface IVertexConsumer
-
- All Known Implementing Classes:
BakedQuadBuilder
,LightUtil.ItemConsumer
,QuadGatheringTransformer
,TransformerConsumer
,TRSRTransformer
,VertexBufferConsumer
,VertexLighterFlat
,VertexLighterSmoothAo
,VertexTransformer
public interface IVertexConsumer
Assumes that the data length is not less than e.getElements().size(). Also assumes that element index passed will increment from 0 to format.getElements().size() - 1. Normal, Color and UV are assumed to be in 0-1 range.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VertexFormat
getVertexFormat()
void
put(int element, float... data)
void
setApplyDiffuseLighting(boolean diffuse)
void
setQuadOrientation(Direction orientation)
void
setQuadTint(int tint)
void
setTexture(TextureAtlasSprite texture)
-
-
-
Method Detail
-
getVertexFormat
VertexFormat getVertexFormat()
- Returns:
- the format that should be used for passed data.
-
setQuadTint
void setQuadTint(int tint)
-
setQuadOrientation
void setQuadOrientation(Direction orientation)
-
setApplyDiffuseLighting
void setApplyDiffuseLighting(boolean diffuse)
-
setTexture
void setTexture(TextureAtlasSprite texture)
-
put
void put(int element, float... data)
-
-