glTexBuffer

attach the storage for a buffer object to the active buffer texture

Signature

glTexBuffer( GLenum ( target ) , GLenum ( internalFormat ) , GLuint ( buffer ) )-> void
glTexBuffer( target , internalformat , buffer )

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.

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glTexBuffer
OpenGLContext OpenGLContext/scenegraph/shaders.py Lines: 252