Package com.mojang.blaze3d.vertex
Class SheetedDecalTextureGenerator
java.lang.Object
com.mojang.blaze3d.vertex.DefaultedVertexConsumer
com.mojang.blaze3d.vertex.SheetedDecalTextureGenerator
- All Implemented Interfaces:
VertexConsumer
,IVertexConsumerExtension
-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.joml.Matrix4f
private final VertexConsumer
private int
private final org.joml.Matrix3f
private float
private float
private float
private int
private int
private final float
private float
private float
private float
Fields inherited from class com.mojang.blaze3d.vertex.DefaultedVertexConsumer
defaultA, defaultB, defaultColorSet, defaultG, defaultR
-
Constructor Summary
ConstructorDescriptionSheetedDecalTextureGenerator
(VertexConsumer p_260211_, org.joml.Matrix4f p_259178_, org.joml.Matrix3f p_259698_, float p_259312_) -
Method Summary
Modifier and TypeMethodDescriptioncolor
(int p_85895_, int p_85896_, int p_85897_, int p_85898_) void
normal
(float p_85900_, float p_85901_, float p_85902_) overlayCoords
(int p_85892_, int p_85893_) private void
uv
(float p_85889_, float p_85890_) uv2
(int p_85904_, int p_85905_) vertex
(double p_85885_, double p_85886_, double p_85887_) Methods inherited from class com.mojang.blaze3d.vertex.DefaultedVertexConsumer
defaultColor, unsetDefaultColor
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, normal, overlayCoords, putBulkData, putBulkData, putBulkData, uv2, vertex, vertex
-
Field Details
-
delegate
-
cameraInversePose
private final org.joml.Matrix4f cameraInversePose -
normalInversePose
private final org.joml.Matrix3f normalInversePose -
textureScale
private final float textureScale -
x
private float x -
y
private float y -
z
private float z -
overlayU
private int overlayU -
overlayV
private int overlayV -
lightCoords
private int lightCoords -
nx
private float nx -
ny
private float ny -
nz
private float nz
-
-
Constructor Details
-
SheetedDecalTextureGenerator
public SheetedDecalTextureGenerator(VertexConsumer p_260211_, org.joml.Matrix4f p_259178_, org.joml.Matrix3f p_259698_, float p_259312_)
-
-
Method Details
-
resetState
private void resetState() -
endVertex
public void endVertex() -
vertex
-
color
-
uv
-
overlayCoords
-
uv2
-
normal
-