Class SheetedDecalTextureGenerator

java.lang.Object
com.mojang.blaze3d.vertex.DefaultedVertexConsumer
com.mojang.blaze3d.vertex.SheetedDecalTextureGenerator
All Implemented Interfaces:
VertexConsumer, IVertexConsumerExtension

public class SheetedDecalTextureGenerator extends DefaultedVertexConsumer
  • Field Details

    • delegate

      private final VertexConsumer 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

      public VertexConsumer vertex(double p_85885_, double p_85886_, double p_85887_)
    • color

      public VertexConsumer color(int p_85895_, int p_85896_, int p_85897_, int p_85898_)
    • uv

      public VertexConsumer uv(float p_85889_, float p_85890_)
    • overlayCoords

      public VertexConsumer overlayCoords(int p_85892_, int p_85893_)
    • uv2

      public VertexConsumer uv2(int p_85904_, int p_85905_)
    • normal

      public VertexConsumer normal(float p_85900_, float p_85901_, float p_85902_)