Interface DataBuffer

All Known Subinterfaces:
ElementsBuffer, IndicesBuffer
All Known Implementing Classes:
G2DElementsBuffer, G2DIndicesBuffer, JoGLDataBuffer, JoGLElementsBuffer, JoGLIndicesBuffer

public interface DataBuffer
Interface for a data buffer.
Author:
Pierre Lando
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    Return the data.
    int
    Return the number of elements.
  • Method Details

    • getData

      Buffer getData()
      Return the data.
      Returns:
      the data.
    • getSize

      int getSize()
      Return the number of elements.
      Returns:
      the number of elements.
    • clear

      void clear()