Class: rcmdfbodrawto

Sets to which color attachments it should be rendered to. Using only fragment shaders you can also write to up to four attachments simultaneously.

Hierarchy

o-+ renderinterface
  o-+ rcmd
    o-+ rcmdfbodrawto

Methods:

new ()
returns: (rcmdfbodrawto)
returns the rcmd. By default draws to color attach 0
setup (rcmdfbodrawto,[int buffer0,buffer1..])
returns: ([int buffer0,buffer1..])
returns or sets the active color drawbuffers. Only ints from 0-3 are allowed. You can specify up to 4 ints, if you want multiple rendertargets and capability exists.

Inherited Methods:

From rcmd

flag