GLRenderBuffer

OpenGL Renderbuffer wrapper.

Constructors

this
this(GLenum internalFormat, int width, int height, int samples)

<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()
logger
void logger(Logger l)

Sets a logger for the program. That allows additional output besides error reporting.

unuse
void unuse()

Unbinds this renderbuffer.

use
void use()

Binds this renderbuffer.

Variables

_handle
GLuint _handle;
Undocumented in source.

Meta