# Class: rcmdfbotex

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

## Hierarchy

    o-+ renderinterface
      o-+ rcmd
        o-+ rcmdfbotex

## Methods:

### Method overview:

- color
- depth
- new
- readbuffer
- stencil

new ()
  returns: (rcmdfbotex)
  returns the rcmd
color (rcmdfbotex,int clr,[texture,[int sideordepth]])
  returns: ([texture,int special])
  returns or sets renderbuffer attachments for color targets 0..3. You can disable certain assignments by passing 0. sideordepth is the side of a cubemap, or the z slice/layer of a 3d/array texture.
depth (rcmdfbotex,[texture])
  returns: ([texture])
  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 (rcmdfbotex,[texture])
  returns: ([texture])
  returns or sets renderbuffer attachment for stencil target. You can disable assignment by passing 0.

## Inherited Methods:

### From rcmd

flag