Package cz.fidentis.analyst.glsl.buffers
Interface TextureBuffer
- All Superinterfaces:
GlslBuffer
- All Known Implementing Classes:
TextureBufferImpl
A texture buffer backed by another buffer.
This buffer is used for the
GL_TEXTURE_BUFFER
OpenGL target.-
Method Summary
Modifier and TypeMethodDescriptionvoid
allocate
(int filter, int dataObject) Allocates the buffer usingglTexBuffer
OpenGL methodMethods inherited from interface cz.fidentis.analyst.glsl.buffers.GlslBuffer
bind, getBindingIndex, getBufferName, getGlName, getGlTarget, glContext
-
Method Details
-
allocate
void allocate(int filter, int dataObject) Allocates the buffer usingglTexBuffer
OpenGL method- Parameters:
filter
- Filtering modedataObject
- name of the buffer object which data store gets attached to the texture object
-