GLFBO

OpenGL FrameBuffer Object wrapper.

Constructors

this
this(OpenGL gl, Usage usage)

Creates one FBO, with specified usage. OpenGL must have been loaded. EXT_framebuffer_object is used as a fallback if ARB_framebuffer_object is missing.

Destructor

~this
~this()
Undocumented in source.

Members

Enums

Usage
enum Usage

FBO usage.

Functions

close
void close()

Releases the OpenGL FBO resource.

color
GLFBOAttachment color(int i)
depth
GLFBOAttachment depth()
stencil
GLFBOAttachment stencil()
unuse
void unuse()

Unbinds this FBO.

use
void use()

Binds this FBO.

Meta