Package com.mojang.blaze3d.vertex
Interface IVertexConsumer
-
- All Superinterfaces:
IForgeVertexBuilder
,IVertexBuilder
- All Known Implementing Classes:
BufferBuilder
public interface IVertexConsumer extends IVertexBuilder
-
-
Field Summary
-
Fields inherited from interface com.mojang.blaze3d.vertex.IVertexBuilder
LOGGER
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IVertexBuilder
color(int p_225586_1_, int p_225586_2_, int p_225586_3_, int p_225586_4_)
VertexFormatElement
currentElement()
void
nextElement()
default IVertexBuilder
normal(float p_225584_1_, float p_225584_2_, float p_225584_3_)
static byte
normalIntValue(float p_227846_0_)
default IVertexBuilder
overlayCoords(int p_225585_1_, int p_225585_2_)
void
putByte(int p_225589_1_, byte p_225589_2_)
void
putFloat(int p_225590_1_, float p_225590_2_)
void
putShort(int p_225591_1_, short p_225591_2_)
default IVertexBuilder
uv(float p_225583_1_, float p_225583_2_)
default IVertexBuilder
uv2(int p_225587_1_, int p_225587_2_)
default IVertexBuilder
uvShort(short p_227847_1_, short p_227847_2_, int p_227847_3_)
default IVertexBuilder
vertex(double p_225582_1_, double p_225582_3_, double p_225582_5_)
-
Methods inherited from interface net.minecraftforge.client.extensions.IForgeVertexBuilder
addVertexData, addVertexData, addVertexData, addVertexData, applyBakedLighting, applyBakedNormals, getVertexBuilder
-
Methods inherited from interface com.mojang.blaze3d.vertex.IVertexBuilder
color, endVertex, normal, overlayCoords, putBulkData, putBulkData, uv2, vertex, vertex
-
-
-
-
Method Detail
-
currentElement
VertexFormatElement currentElement()
-
nextElement
void nextElement()
-
putByte
void putByte(int p_225589_1_, byte p_225589_2_)
-
putShort
void putShort(int p_225591_1_, short p_225591_2_)
-
putFloat
void putFloat(int p_225590_1_, float p_225590_2_)
-
vertex
default IVertexBuilder vertex(double p_225582_1_, double p_225582_3_, double p_225582_5_)
- Specified by:
vertex
in interfaceIVertexBuilder
-
color
default IVertexBuilder color(int p_225586_1_, int p_225586_2_, int p_225586_3_, int p_225586_4_)
- Specified by:
color
in interfaceIVertexBuilder
-
uv
default IVertexBuilder uv(float p_225583_1_, float p_225583_2_)
- Specified by:
uv
in interfaceIVertexBuilder
-
overlayCoords
default IVertexBuilder overlayCoords(int p_225585_1_, int p_225585_2_)
- Specified by:
overlayCoords
in interfaceIVertexBuilder
-
uv2
default IVertexBuilder uv2(int p_225587_1_, int p_225587_2_)
- Specified by:
uv2
in interfaceIVertexBuilder
-
uvShort
default IVertexBuilder uvShort(short p_227847_1_, short p_227847_2_, int p_227847_3_)
-
normal
default IVertexBuilder normal(float p_225584_1_, float p_225584_2_, float p_225584_3_)
- Specified by:
normal
in interfaceIVertexBuilder
-
normalIntValue
static byte normalIntValue(float p_227846_0_)
-
-