glTexBufferRange

bind a range of a buffer's data store to a buffer texture

Signature

glTexBufferRange( GLenum ( target ) , GLenum ( internalFormat ) , GLuint ( buffer ) , GLintptr ( offset ) , GLsizeiptr ( size ) )-> void
glTexBufferRange( target , internalformat , buffer , offset , size )

Parameters

VariablesDescription
target
Specifies the target of the operation and must be GL_TEXTURE_BUFFER .
internalFormat
Specifies the internal format of the data in the store belonging to buffer .
buffer
Specifies the name of the buffer object whose storage to attach to the active buffer texture.
offset
Specifies the offset of the start of the range of the buffer's data store to attach.
size
Specifies the size of the range of the buffer's data store to attach.