March 2013
Intermediate to advanced
984 pages
26h 18m
English
When you first call glBindRenderbuffer() with an unused renderbuffer name, the OpenGL server creates a renderbuffer with all its state information set to the default values. In this configuration, no storage has been allocated to store image data. Before you can attach a renderbuffer to a framebuffer and render into it, you need to allocate storage and specify its image format. This is done by calling either glRenderbufferStorage() or glRenderbufferStorageMultisample().