# Class: rcmdreadpixels

Allows storage of drawn pixels into a vidbuffer.

## Hierarchy

    o-+ renderinterface
      o-+ rcmd
        o-+ rcmdreadpixels

## Methods:

### Method overview:

- buffer
- format
- new
- rect

new ()
  returns: (rcmdreadpixels)
  returns the rcmd
buffer (rcmdreadpixels,[vidbuffer,[int offset]])
  returns: ([vidbuffer,offset])
  returns or sets vidbuffer used for storage.
format (rcmdreadpixels,textype,texdatatype)
  returns: ()
  sets whicht data and in what format it is read.
rect (rcmdreadpixels,[int x,y,w,h])
  returns: ([int x,y,w,h])
  returns or sets the screen rectangle used to read from.

## Inherited Methods:

### From rcmd

flag