GLRenderBuffer

OpenGL Renderbuffer wrapper.

Constructors

this
this(OpenGL gl, GLenum internalFormat, int width, int height, int samples = 0)

<p>Creates an OpenGL renderbuffer.</p> <p>If asking for a multisampled render buffer fails, a non multisampled buffer will be created instead.</p>

Destructor

~this
~this()

Releases the OpenGL renderbuffer resource.

Members

Functions

handle
GLuint handle()
unuse
void unuse()

Unbinds this renderbuffer.

use
void use()

Binds this renderbuffer.

Meta