Package com.mojang.blaze3d.vertex
Class DefaultedVertexConsumer
java.lang.Object
com.mojang.blaze3d.vertex.DefaultedVertexConsumer
- All Implemented Interfaces:
VertexConsumer
,IVertexConsumerExtension
- Direct Known Subclasses:
BufferBuilder
,OutlineBufferSource.EntityOutlineGenerator
,SheetedDecalTextureGenerator
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected int
protected boolean
protected int
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
defaultColor
(int p_85830_, int p_85831_, int p_85832_, int p_85833_) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.neoforge.client.extensions.IVertexConsumerExtension
applyBakedLighting, applyBakedNormals, misc, putBulkData
Methods inherited from interface com.mojang.blaze3d.vertex.VertexConsumer
color, color, color, endVertex, normal, normal, overlayCoords, overlayCoords, putBulkData, putBulkData, uv, uv2, uv2, vertex, vertex, vertex, vertex
-
Field Details
-
defaultColorSet
protected boolean defaultColorSet -
defaultR
protected int defaultR -
defaultG
protected int defaultG -
defaultB
protected int defaultB -
defaultA
protected int defaultA
-
-
Constructor Details
-
DefaultedVertexConsumer
public DefaultedVertexConsumer()
-
-
Method Details
-
defaultColor
public void defaultColor(int p_85830_, int p_85831_, int p_85832_, int p_85833_) - Specified by:
defaultColor
in interfaceVertexConsumer
-
unsetDefaultColor
public void unsetDefaultColor()- Specified by:
unsetDefaultColor
in interfaceVertexConsumer
-