Class VertexFormatElement

java.lang.Object
net.minecraft.client.renderer.vertex.VertexFormatElement

public class VertexFormatElement extends Object
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • type

      private final VertexFormatElement.Type type
    • usage

      private final VertexFormatElement.Usage usage
    • index

      private final int index
    • count

      private final int count
    • byteSize

      private final int byteSize
  • Constructor Details

  • Method Details

    • supportsUsage

      private boolean supportsUsage(int p_177372_1_, VertexFormatElement.Usage p_177372_2_)
    • getType

      public final VertexFormatElement.Type getType()
    • getUsage

      public final VertexFormatElement.Usage getUsage()
    • getIndex

      public final int getIndex()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getByteSize

      public final int getByteSize()
    • equals

      public boolean equals(Object p_equals_1_)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • setupBufferState

      public void setupBufferState(long p_227897_1_, int p_227897_3_)
    • clearBufferState

      public void clearBufferState()
    • getElementCount

      public int getElementCount()