Class: rcmdfbo

Binds a framebufferobject (if capability exists). Fbos allow enhanced render-to-texture operation, and off-screen rendering to large buffers. Once you start using fbos it is heavily recommended to check your setup for the whole l3dlist with l3dlist.fbotest. An fbo setup consists of rcmdfbo (for binding), rcmdfbotex or rcmdfborb for attaching renderbuffers/textures and finally the rcmdfbodrawto command which specifies which assignment the color is rendered to.

Hierarchy

o-+ renderinterface
  o-+ rcmd
    o-+ rcmdfbo

Methods:

new ()
returns: (rcmdfbo)
returns the rcmd with a new created fbo. Make sure to set size.
size (rcmdfbo,[int width,height])
returns: ([int width,height])
returns or sets fbo size, must be defined before use, and all attachments must have equal size.

Inherited Methods:

From rcmd

flag