- bind
void bind()
- createDefaultTexture
auto createDefaultTexture(uint unit)
Undocumented in source. Be warned that the author may not have intended to support it.
- defaultColor
GLTexture2D defaultColor(uint unit)
- defaultDepth
GLTexture2D defaultDepth(uint unit)
- drawBuffers
void drawBuffers(int[] bufs)
GLFrameBuffer.drawBuffers
- getColor
GLTexture2D getColor(uint N)
get buffer setted to color attachment N
- getColors
GLTexture2D[uint] getColors()
- getDepth
GLTexture2D getDepth()
- removeIfChild
void removeIfChild(GLTexture2D t)
Undocumented in source. Be warned that the author may not have intended to support it.
- resize
void resize(uivec2 sz)
- resize
void resize(uint w, uint h)
- selfDestroy
void selfDestroy()
Undocumented in source. Be warned that the author may not have intended to support it.
- setColor
void setColor(GLTexture2D buf, uint N)
set buf to color attachment N
- setDepth
void setDepth(GLTexture2D buf)
- unbind
void unbind()
Render to FBO