Package com.mojang.blaze3d.vertex
Class SheetedDecalTextureGenerator
java.lang.Object
com.mojang.blaze3d.vertex.SheetedDecalTextureGenerator
- All Implemented Interfaces:
VertexConsumer,IVertexConsumerExtension
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.joml.Matrix4fprivate final VertexConsumerprivate final org.joml.Vector3fprivate final org.joml.Matrix3fprivate final floatprivate final org.joml.Vector3fprivate floatprivate floatprivate float -
Constructor Summary
ConstructorsConstructorDescriptionSheetedDecalTextureGenerator(VertexConsumer p_260211_, PoseStack.Pose p_324244_, float p_259312_) -
Method Summary
Modifier and TypeMethodDescriptionaddVertex(float p_350285_, float p_350727_, float p_350832_) setColor(int p_350431_, int p_350486_, int p_350631_, int p_350495_) setNormal(float p_350270_, float p_350794_, float p_350323_) setUv(float p_351041_, float p_350355_) setUv1(int p_350521_, int p_350750_) setUv2(int p_351012_, int p_350527_) Methods 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
addVertex, addVertex, addVertex, addVertex, addVertex, putBulkData, putBulkData, setColor, setColor, setLight, setNormal, setOverlay, setWhiteAlpha
-
Field Details
-
delegate
-
cameraInversePose
private final org.joml.Matrix4f cameraInversePose -
normalInversePose
private final org.joml.Matrix3f normalInversePose -
textureScale
private final float textureScale -
worldPos
private final org.joml.Vector3f worldPos -
normal
private final org.joml.Vector3f normal -
x
private float x -
y
private float y -
z
private float z
-
-
Constructor Details
-
SheetedDecalTextureGenerator
public SheetedDecalTextureGenerator(VertexConsumer p_260211_, PoseStack.Pose p_324244_, float p_259312_)
-
-
Method Details
-
addVertex
- Specified by:
addVertexin interfaceVertexConsumer
-
setColor
- Specified by:
setColorin interfaceVertexConsumer
-
setUv
- Specified by:
setUvin interfaceVertexConsumer
-
setUv1
- Specified by:
setUv1in interfaceVertexConsumer
-
setUv2
- Specified by:
setUv2in interfaceVertexConsumer
-
setNormal
- Specified by:
setNormalin interfaceVertexConsumer
-