Class VertexConsumerWrapper

java.lang.Object
net.nikdo53.tinymultiblocklib.client.VertexConsumerWrapper
All Implemented Interfaces:
com.mojang.blaze3d.vertex.VertexConsumer

public abstract class VertexConsumerWrapper extends Object implements com.mojang.blaze3d.vertex.VertexConsumer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final com.mojang.blaze3d.vertex.VertexConsumer
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    VertexConsumerWrapper(com.mojang.blaze3d.vertex.VertexConsumer parent)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.blaze3d.vertex.VertexConsumer
    color(float red, float green, float blue, float alpha)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    color(int colorARGB)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    color(int r, int g, int b, int a)
     
    void
    defaultColor(int r, int g, int b, int a)
     
    void
     
    com.mojang.blaze3d.vertex.VertexConsumer
    normal(float x, float y, float z)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    normal(org.joml.Matrix3f matrix, float x, float y, float z)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    overlayCoords(int overlayUV)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    overlayCoords(int u, int v)
     
    void
     
    com.mojang.blaze3d.vertex.VertexConsumer
    uv(float u, float v)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    uv2(int lightmapUV)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    uv2(int u, int v)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    vertex(double x, double y, double z)
     
    void
    vertex(float x, float y, float z, float red, float green, float blue, float alpha, float texU, float texV, int overlayUV, int lightmapUV, float normalX, float normalY, float normalZ)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    vertex(org.joml.Matrix4f matrix, float x, float y, float z)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.mojang.blaze3d.vertex.VertexConsumer

    putBulkData, putBulkData
  • Field Details

    • parent

      protected final com.mojang.blaze3d.vertex.VertexConsumer parent
  • Constructor Details

    • VertexConsumerWrapper

      public VertexConsumerWrapper(com.mojang.blaze3d.vertex.VertexConsumer parent)
  • Method Details

    • vertex

      public com.mojang.blaze3d.vertex.VertexConsumer vertex(double x, double y, double z)
      Specified by:
      vertex in interface com.mojang.blaze3d.vertex.VertexConsumer
    • color

      public com.mojang.blaze3d.vertex.VertexConsumer color(int r, int g, int b, int a)
      Specified by:
      color in interface com.mojang.blaze3d.vertex.VertexConsumer
    • uv

      public com.mojang.blaze3d.vertex.VertexConsumer uv(float u, float v)
      Specified by:
      uv in interface com.mojang.blaze3d.vertex.VertexConsumer
    • overlayCoords

      public com.mojang.blaze3d.vertex.VertexConsumer overlayCoords(int u, int v)
      Specified by:
      overlayCoords in interface com.mojang.blaze3d.vertex.VertexConsumer
    • uv2

      public com.mojang.blaze3d.vertex.VertexConsumer uv2(int u, int v)
      Specified by:
      uv2 in interface com.mojang.blaze3d.vertex.VertexConsumer
    • normal

      public com.mojang.blaze3d.vertex.VertexConsumer normal(float x, float y, float z)
      Specified by:
      normal in interface com.mojang.blaze3d.vertex.VertexConsumer
    • vertex

      public void vertex(float x, float y, float z, float red, float green, float blue, float alpha, float texU, float texV, int overlayUV, int lightmapUV, float normalX, float normalY, float normalZ)
      Specified by:
      vertex in interface com.mojang.blaze3d.vertex.VertexConsumer
    • color

      public com.mojang.blaze3d.vertex.VertexConsumer color(float red, float green, float blue, float alpha)
      Specified by:
      color in interface com.mojang.blaze3d.vertex.VertexConsumer
    • color

      public com.mojang.blaze3d.vertex.VertexConsumer color(int colorARGB)
      Specified by:
      color in interface com.mojang.blaze3d.vertex.VertexConsumer
    • uv2

      public com.mojang.blaze3d.vertex.VertexConsumer uv2(int lightmapUV)
      Specified by:
      uv2 in interface com.mojang.blaze3d.vertex.VertexConsumer
    • overlayCoords

      public com.mojang.blaze3d.vertex.VertexConsumer overlayCoords(int overlayUV)
      Specified by:
      overlayCoords in interface com.mojang.blaze3d.vertex.VertexConsumer
    • vertex

      public com.mojang.blaze3d.vertex.VertexConsumer vertex(org.joml.Matrix4f matrix, float x, float y, float z)
      Specified by:
      vertex in interface com.mojang.blaze3d.vertex.VertexConsumer
    • normal

      public com.mojang.blaze3d.vertex.VertexConsumer normal(org.joml.Matrix3f matrix, float x, float y, float z)
      Specified by:
      normal in interface com.mojang.blaze3d.vertex.VertexConsumer
    • endVertex

      public void endVertex()
      Specified by:
      endVertex in interface com.mojang.blaze3d.vertex.VertexConsumer
    • defaultColor

      public void defaultColor(int r, int g, int b, int a)
      Specified by:
      defaultColor in interface com.mojang.blaze3d.vertex.VertexConsumer
    • unsetDefaultColor

      public void unsetDefaultColor()
      Specified by:
      unsetDefaultColor in interface com.mojang.blaze3d.vertex.VertexConsumer