Class GraphicsRenderer extends Renderer

Responsible for rendering Graphics objects by different drivers.

Inherited Methods

preRender(driver, session) inherited method

Called when this renderer needs to be rendered.

Parameters
driver : VideoNullDriver — Active video driver.
session : RenderSession — Active session.
Returns
void
begin(driver, session) inherited method

Called after preRender but before GameObject#onRender. Used to compute world alpha, color and blend mode.

Parameters
driver : VideoNullDriversession : RenderSession
upload(driver, session) inherited method

Called if skipSelf equals to false. Used to upload everything onto gpu.

Parameters
driver : VideoNullDriversession : RenderSession
render(driver, session) inherited method

Called if skipSelf equals to false.

Parameters
driver : VideoNullDriver — Active video driver.
session : RenderSession
Returns
void
end(driver, session) inherited method

Called after all children objects got rendered.

Parameters
driver : VideoNullDriversession : RenderSession

Inherited Properties

gameObject inherited property

parent inherited property