GLFBO

OpenGL FrameBuffer Object wrapper.

Constructors

this
this(Usage usage)

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

Destructor

~this
~this()

Releases the OpenGL FBO resource.

Members

Enums

Usage
enum Usage

FBO usage.

Functions

color
GLFBOAttachment color(int i)
depth
GLFBOAttachment depth()
setUsage
void setUsage(Usage usage)
Undocumented in source. Be warned that the author may not have intended to support it.
stencil
GLFBOAttachment stencil()
unuse
void unuse()

Unbinds this FBO.

usage
auto usage()
Undocumented in source. Be warned that the author may not have intended to support it.
use
void use()

Binds this FBO.

Meta