# Class: rcmdcopytex

Copys drawbuffer to texture

## Hierarchy

    o-+ renderinterface
      o-+ rcmd
        o-+ rcmdcopytex

## Methods:

### Method overview:

- autosize
- new
- offset
- screenbounds
- side
- tex

new ()
  returns: (rcmdcopytex)
  returns the rcmd
autosize (rcmddraw2dmesh,[int])
  returns: ([int])
  returns or sets. 0 off 1 windowsized -1 viewsized. Default is 0
offset (rcmdcopytex,[int x,y])
  returns: ([int x,y])
  returns or sets offset into texture.
screenbounds (rcmdcopytex,[int x,y,w,h])
  returns: ([int x,y,w,h])
  returns or sets area of window to be copied into texture. OpenGL coordinates are used.
side (rcmdcopytex,[int])
  returns: ([int)
  returns or sets side of texture (only for cubemaps) 0..5
tex (rcmdcopytex,[texture])
  returns: ([texture])
  returns or sets texture

## Inherited Methods:

### From rcmd

flag