Class: renderfbo

The framebufferobject (fbo) can be used for advanced off-screen rendering effects. For this class you need special capability. When not using fbos rendering is done to the windows's backbuffer. The 'fbo' rcmds can be used to make use of it.

Hierarchy

o-+ renderinterface
  o-+ renderfbo

Methods:

new (int width,height,[boolean windowsized])
returns: (renderfbo)
returns the new created fbo. If windowsized is true width and height are ignored and current window resolution is taken and fbo is resized on window.size changes, too.
resetattach (renderfbo)
returns: ()
resets the attach bind cache. Useful if you reloaded assigned textures. l3dlist.fbotest calls this as well.
size (renderfbo,[int width,height,[boolean windowsized ]])
returns: ([int width,height, boolean windowsized])
returns or sets fbo size. All attachments must have equal size.

Inherited Methods: