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()

Releases the OpenGL FBO resource.

Members

Enums

Usage
enum Usage

FBO usage.

Functions

close
deprecated void close()
Undocumented in source. Be warned that the author may not have intended to support it.
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