Interface IVertexBuffer

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

    public interface IVertexBuffer
    extends IBuffer
    The vertex buffer holds the polygon vertex data that will be sent to rendering pipeline
    • Method Summary

      Modifier and Type Method Description
      VertexDeclaration getVertexDeclaration()
      Gets the vertex declaration
      void loadData​(long data, int size)
      Load data from given position
      void loadData​(TriMesh mesh)
      Load vertex data from TriMesh
      void loadData​(java.lang.Object array)
      Load data from array
      • Methods inherited from interface java.io.Closeable

        close
    • Method Detail

      • loadData

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

        void loadData​(long data,
                      int size)
        Load data from given position
        Parameters:
        data -
        size -
      • loadData

        void loadData​(java.lang.Object array)
        Load data from array
        Parameters:
        array -
      • getVertexDeclaration

        VertexDeclaration getVertexDeclaration()
        Gets the vertex declaration