Class VertexFormat


  • public class VertexFormat
    extends java.lang.Object
    • Field Detail

      • elements

        private final com.google.common.collect.ImmutableList<VertexFormatElement> elements
      • offsets

        private final it.unimi.dsi.fastutil.ints.IntList offsets
      • vertexSize

        private final int vertexSize
    • Constructor Detail

      • VertexFormat

        public VertexFormat​(com.google.common.collect.ImmutableList<VertexFormatElement> p_i225911_1_)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getIntegerSize

        public int getIntegerSize()
      • getVertexSize

        public int getVertexSize()
      • getElements

        public com.google.common.collect.ImmutableList<VertexFormatElement> getElements()
      • equals

        public boolean equals​(java.lang.Object p_equals_1_)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public void setupBufferState​(long p_227892_1_)
      • clearBufferState

        public void clearBufferState()
      • getOffset

        public int getOffset​(int index)
      • hasPosition

        public boolean hasPosition()
      • hasNormal

        public boolean hasNormal()
      • hasColor

        public boolean hasColor()
      • hasUV

        public boolean hasUV​(int which)