Class: rcmdbufferblit

Blits a rectangle from current read to drawbuffer. Also allows stretching and flipping the rectangle specified. When no fbo is bound backbuffer is used for read or draw.

Hierarchy

o-+ renderinterface
  o-+ rcmd
    o-+ rcmdbufferblit

Methods:

Method overview:


new ()
returns: (rcmdbufferblit)
returns the rcmd
content (rcmdbufferblit,[boolean color,depth,stencil])
returns: ([boolean color,depth,stencil])
returns or sets which buffers are copied.
from (rcmdbufferblit,[int x,y,w,h])
returns: ([int x,y,w,h])
returns or sets rectangle to copy from. OpenGL pixel coordinates
linear (rcmdbufferblit,[boolean])
returns: ([boolean])
returns or sets whether linear filtering shall be applied when sizes mismatch. Not allowed when depth or stencil are involved in copy.
to (rcmdbufferblit,[int x,y,w,h])
returns: ([int x,y,w,h])
returns or sets rectangle to copy to. OpenGL pixel coordinates. Negative width and height means flipping along these axis.

Inherited Methods:

From rcmd

flag