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 Summary

      Modifier and Type Method Description
      int getCount()
      Gets the number of index in this buffer.
      IndexDataType getIndexDataType()
      Gets the data type of each element.
      void loadData​(int[] indices)
      Load indice data
      void loadData​(short[] indices)
      Load indice data
      void loadData​(TriMesh mesh)
      Load indice data from TriMesh
      • Methods inherited from interface java.io.Closeable

        close
    • 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 -