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
FieldsModifier and TypeFieldDescriptionprivate final org.joml.Matrix4fprivate final VertexConsumerprivate intprivate final org.joml.Matrix3fprivate floatprivate floatprivate floatprivate intprivate intprivate final floatprivate floatprivate floatprivate floatFields inherited from class com.mojang.blaze3d.vertex.DefaultedVertexConsumer
defaultA, defaultB, defaultColorSet, defaultG, defaultR -
Constructor Summary
ConstructorsConstructorDescriptionSheetedDecalTextureGenerator(VertexConsumer p_260211_, PoseStack.Pose p_324244_, float p_259312_) -
Method Summary
Modifier and TypeMethodDescriptioncolor(int p_85895_, int p_85896_, int p_85897_, int p_85898_) voidnormal(float p_85900_, float p_85901_, float p_85902_) overlayCoords(int p_85892_, int p_85893_) private voiduv(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, unsetDefaultColorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.client.extensions.IVertexConsumerExtension
applyBakedLighting, applyBakedNormals, misc, putBulkDataMethods inherited from interface com.mojang.blaze3d.vertex.VertexConsumer
color, color, normal, overlayCoords, putBulkData, putBulkData, uv2, vertex, 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_, PoseStack.Pose p_324244_, float p_259312_)
-
-
Method Details
-
resetState
private void resetState() -
endVertex
public void endVertex() -
vertex
-
color
-
uv
-
overlayCoords
-
uv2
-
normal
-