Package com.mojang.blaze3d.vertex
Class SheetedDecalTextureGenerator
java.lang.Object
com.mojang.blaze3d.vertex.DefaultedVertexConsumer
com.mojang.blaze3d.vertex.SheetedDecalTextureGenerator
- All Implemented Interfaces:
VertexConsumer
,IForgeVertexConsumer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Matrix4f
private final VertexConsumer
private int
private final Matrix3f
private float
private float
private float
private int
private int
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_85880_, Matrix4f p_85881_, Matrix3f p_85882_) -
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.minecraftforge.client.extensions.IForgeVertexConsumer
applyBakedLighting, applyBakedNormals, putBulkData, putBulkData, putBulkData, putBulkData
Methods inherited from interface com.mojang.blaze3d.vertex.VertexConsumer
color, color, normal, overlayCoords, putBulkData, putBulkData, uv2, vertex, vertex
-
Field Details
-
delegate
-
cameraInversePose
-
normalInversePose
-
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
-
-
Method Details
-
resetState
private void resetState() -
endVertex
public void endVertex() -
vertex
-
color
-
uv
-
overlayCoords
-
uv2
-
normal
-
getVertexFormat
-