[Gfx2GpuRenderTarget] target = gfx2.createRenderTarget(width, height)


Creates a gpu render target, you can basically use most gfx2 things on it.

Parameters


width

integer

The width of the render target

height

integer

The height of the render target

Return Value


target

Gfx2GpuRenderTarget

The created render target