[Gfx2GpuRenderTarget] target = gfx2.createRenderTarget(width, height)
Creates a gpu render target, you can basically use most gfx2 things on it.
Parameters
width
integerThe width of the render target
height
integerThe height of the render target
Return Value