# Class: rcmdcopytex

Copys drawbuffer to texture

## Hierarchy

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

## Methods:

### Method overview:

- autosize
- new
- offset
- screenbounds
- sideordepth
- tex

new ()
  returns: (rcmdcopytex)
  returns the rcmd
autosize (rcmdcopytex,[int])
  returns: ([int])
  returns or sets. 0 off -1 viewsized. Default is -1
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.
sideordepth (rcmdcopytex,[int])
  returns: ([int)
  returns or sets side of texture for cubemaps 0..5, or z slice depth for 3d textures.
tex (rcmdcopytex,[texture])
  returns: ([texture])
  returns or sets texture

## Inherited Methods:

### From rcmd

flag