# Class: rcmdfborb

Attaches renderbuffers to the current bound fbo. By default the drawbuffer is used for assignments.

## Hierarchy

    o-+ renderinterface
      o-+ rcmd
        o-+ rcmdfborb

## Methods:

### Method overview:

- color
- depth
- new
- readbuffer
- stencil

new ()
  returns: (rcmdfborb)
  returns the rcmd
color (rcmdfborb,int clr,[renderbuffer])
  returns: ([renderbuffer])
  returns or sets renderbuffer attachments for color targets 0..3. You can disable certain assignments by passing 0.
depth (rcmdfborb,[renderbuffer])
  returns: ([renderbuffer])
  returns or sets renderbuffer attachment for depth target. You can disable assignment by passing 0.
readbuffer (rcmdfbobind, [boolean readbuffer])
  returns: ([boolean readbuffer])
  returns or sets whether target is readbuffer fbo binding, or drawbuffer. Readbuffer functionality requires extra capability and by default is off.
stencil (rcmdfborb,[renderbuffer])
  returns: ([renderbuffer])
  returns or sets renderbuffer attachment for stencil target. You can disable assignment by passing 0.

## Inherited Methods:

### From rcmd

flag