Class Vertices

java.lang.Object
icyllis.arc3d.core.Vertices

public class Vertices extends Object
  • Field Details

  • Method Details

    • makeCopy

      @Nonnull public static Vertices makeCopy(int vertexMode, int vertexCount, @Nonnull float[] positions, int positionOffset, @Nullable float[] texCoords, int texCoordOffset, @Nullable int[] colors, int colorOffset)
    • makeCopy

      @Nonnull public static Vertices makeCopy(int vertexMode, int vertexCount, @Nonnull float[] positions, int positionOffset, @Nullable float[] texCoords, int texCoordOffset, @Nullable int[] colors, int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount)
    • makeCopy

      @Nonnull public static Vertices makeCopy(int vertexMode, @Nonnull FloatBuffer positions, @Nullable FloatBuffer texCoords, @Nullable IntBuffer colors, @Nullable ShortBuffer indices)
    • getBounds

      @Nonnull public Rect2fc getBounds()
    • getBounds

      public void getBounds(Rect2f bounds)
    • getVertexMode

      @Internal public int getVertexMode()
    • hasColors

      @Internal public boolean hasColors()
    • hasTexCoords

      @Internal public boolean hasTexCoords()
    • hasIndices

      @Internal public boolean hasIndices()
    • getVertexCount

      @Internal public int getVertexCount()
    • getIndexCount

      @Internal public int getIndexCount()
    • getPositions

      @Internal public float[] getPositions()
    • getTexCoords

      @Internal public float[] getTexCoords()
    • getColors

      @Internal public byte[] getColors()
    • getIndices

      @Internal public short[] getIndices()