glRenderbufferStorage

establish data storage, format and dimensions of a renderbuffer object's image

Signature

glRenderbufferStorage( GLenum ( target ) , GLenum ( internalformat ) , GLsizei ( width ) , GLsizei ( height ) )-> void
glRenderbufferStorage( target , internalformat , width , height )

Parameters

VariablesDescription
target
Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER .
internalformat
Specifies the internal format to use for the renderbuffer object's image.
width
Specifies the width of the renderbuffer, in pixels.
height
Specifies the height of the renderbuffer, in pixels.

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.

glRenderbufferStorage
OpenGLContext tests/shadow_2.py Lines: 98