Interface BufferedModel

All Known Implementing Classes:
IndexedModel, ModelPool.PooledModel, VBOModel

public interface BufferedModel
  • Method Details

    • getType

      VertexType getType()
    • getVertexCount

      int getVertexCount()
    • setupState

      void setupState(GlVertexArray vao)
      The VAO must be bound externally.
    • drawCall

      void drawCall()
    • drawInstances

      void drawInstances(int instanceCount)
      Draws many instances of this model, assuming the appropriate state is already bound.
    • isDeleted

      boolean isDeleted()
    • delete

      void delete()
    • getLayout

      default BufferLayout getLayout()
    • valid

      default boolean valid()
    • getAttributeCount

      default int getAttributeCount()