Open
Description
The current bindings have 'nice' ways to create and bind texture buffers, but no way that I can see to actually link one with a buffer object, i.e. glTexBuffer
or glTexBufferRange
. As nearly as I can tell, this should be straightforward, perhaps as simple as
texBuffer :: SettableStateVar (PixelInternalFormat, BufferObject)
texBuffer = makeSettableStateVar $ \(fmt,tbo) ->
glTexBuffer (marshalBufferTarget TextureBuffer)
(marshalPixelInternalFormat fmt)
(bufferID tbo)
modulo available exports.
Metadata
Metadata
Assignees
Labels
No labels