Interface IIndexBuffer

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable, IBuffer

    public interface IIndexBuffer
    extends IBuffer
    The index buffer describes the geometry used in rendering pipeline.
    • Method Detail

      • getIndexDataType

        IndexDataType getIndexDataType()
        Gets the data type of each element.
      • getCount

        int getCount()
        Gets the number of index in this buffer.
      • loadData

        void loadData​(TriMesh mesh)
        Load indice data from TriMesh
        Parameters:
        mesh -
      • loadData

        void loadData​(int[] indices)
        Load indice data
        Parameters:
        indices -
      • loadData

        void loadData​(short[] indices)
        Load indice data
        Parameters:
        indices -