<renderbuffer> ( component-order: component-order component-type: component-type samples dim -- renderbuffer )


Vocabulary
gpu.framebuffers

Inputs
component-ordera component-order
component-typea component-type
samplesan integer or f
dima sequence or f


Outputs
renderbuffera renderbuffer


Word description
Creates a new renderbuffer object. If samples is not f, it specifies the multisampling level to use. If dim is not f, image memory of the given dimensions will be allocated for the renderbuffer; otherwise, memory will have to be allocated separately with allocate-renderbuffer.

Notes
Renderbuffer objects require OpenGL 3.0 or one of the GL_ARB_framebuffer_object or GL_EXT_framebuffer_object extensions. Multisampled renderbuffers require OpenGL 3.0 or one of the GL_ARB_framebuffer_object or GL_EXT_framebuffer_multisample extensions.

See also
renderbuffer, renderbuffer-dim, allocate-renderbuffer

Definition