Package com.mojang.blaze3d.vertex
Interface BufferVertexConsumer
- All Superinterfaces:
IForgeVertexConsumer
,VertexConsumer
- All Known Implementing Classes:
BufferBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondefault VertexConsumer
color
(int p_85787_, int p_85788_, int p_85789_, int p_85790_) void
default VertexConsumer
normal
(float p_85798_, float p_85799_, float p_85800_) static byte
normalIntValue
(float p_85775_) default VertexConsumer
overlayCoords
(int p_85784_, int p_85785_) void
putByte
(int p_85779_, byte p_85780_) void
putFloat
(int p_85781_, float p_85782_) void
putShort
(int p_85791_, short p_85792_) default VertexConsumer
uv
(float p_85777_, float p_85778_) default VertexConsumer
uv2
(int p_85802_, int p_85803_) default VertexConsumer
uvShort
(short p_85794_, short p_85795_, int p_85796_) default VertexConsumer
vertex
(double p_85771_, double p_85772_, double p_85773_) Methods inherited from interface net.minecraftforge.client.extensions.IForgeVertexConsumer
applyBakedLighting, applyBakedNormals, misc, putBulkData
Methods inherited from interface com.mojang.blaze3d.vertex.VertexConsumer
color, color, defaultColor, endVertex, normal, overlayCoords, putBulkData, putBulkData, putBulkData, unsetDefaultColor, uv2, vertex, vertex
-
Method Details
-
currentElement
VertexFormatElement currentElement() -
nextElement
void nextElement() -
putByte
void putByte(int p_85779_, byte p_85780_) -
putShort
void putShort(int p_85791_, short p_85792_) -
putFloat
void putFloat(int p_85781_, float p_85782_) -
vertex
- Specified by:
vertex
in interfaceVertexConsumer
-
color
- Specified by:
color
in interfaceVertexConsumer
-
uv
- Specified by:
uv
in interfaceVertexConsumer
-
overlayCoords
- Specified by:
overlayCoords
in interfaceVertexConsumer
-
uv2
- Specified by:
uv2
in interfaceVertexConsumer
-
uvShort
-
normal
- Specified by:
normal
in interfaceVertexConsumer
-
normalIntValue
static byte normalIntValue(float p_85775_)
-