[Gfx2CpuRenderTarget] target = gfx2.createCpuRenderTarget(width, height)
Creates a cpu render target, you can basically use most gfx2 things on it.
Except that you can then save it to disk or do whatever you want with the texture cpu or gpu side
Parameters
width
integerThe width of the render target
height
integerThe height of the render target
Return Value