GLFBO

OpenGL FrameBuffer Object wrapper.

Constructors

this
this(OpenGL gl, Usage usage)

Creates one FBO, with specified usage. OpenGL must have been loaded. ARB_framebuffer_object must be supported.

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