FrameBuffer

Undocumented in source.

Constructors

this
this(int w, int h, int count, GLuint format, GLuint type, GLuint colors)
Undocumented in source.

Members

Functions

blit
void blit(int which, int x, int y, int w)

Bind textures for reading tex: [shader offset: framebuffer index, ...] / void read(uintuint tex){ foreach(i, n; tex){ glActiveTexture(GL_TEXTURE0+i); glBindTexture(GL_TEXTURE_2D, texturesn); } }

clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
destroy
void destroy()
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(GLuint[] targets)
Undocumented in source. Be warned that the author may not have intended to support it.
read
void read(GLuint target)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

depth
Texture depth;
Undocumented in source.
fbo
GLuint fbo;
height
uint height;
Undocumented in source.
textures
Texture[] textures;
Undocumented in source.
width
uint width;
Undocumented in source.

Meta