Interface TextureBuffer

All Superinterfaces:
GlslBuffer
All Known Implementing Classes:
TextureBufferImpl

public interface TextureBuffer extends GlslBuffer
A texture buffer backed by another buffer. This buffer is used for the GL_TEXTURE_BUFFER OpenGL target.
  • Method Details

    • allocate

      void allocate(int filter, int dataObject)
      Allocates the buffer using glTexBuffer OpenGL method
      Parameters:
      filter - Filtering mode
      dataObject - name of the buffer object which data store gets attached to the texture object