Skip to content

Mojo3d renderer new

mojo3d:mojo3d.Renderer.New

Method New:Void( )#

Creates a new renderer.

When a new renderer is created, the config setting MOJO3D\_RENDERER can be used to control the type of renderer created. Use "deferred" to create a deferred renderer and "foward" to create a forward renderer. See SetConfig for more information about config settings. By default, a deferred renderer is created for desktop and web targets and a forward renderer for mobile targets.