- bind
void bind()
- createDefaultTexture
auto createDefaultTexture(uint unit)
Undocumented in source. Be warned that the author may not have intended to support it.
- defaultColor
GLTexture defaultColor(uint unit)
- defaultDepth
GLTexture defaultDepth(uint unit)
- getColor
GLTexture getColor(uint N)
get buffer setted to color attachment N
- getDepth
GLTexture getDepth()
- removeIfChild
void removeIfChild(GLTexture 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(GLTexture buf, uint N)
set buf to color attachment N
- setDepth
void setDepth(GLTexture buf)
- unbind
void unbind()
Render to FBO