The system registers RendererAPI in world.systemApi.
Options:
windowNodeId: the id of the element the renderer adds its canvas to.
backgroundColor: the window background color.
filterEffects: post-processing effects for the whole screen.
The global option sorting sets the sorting layers and the draw order, see
Sorting. Pass your shaders and filter effects in resources under
Renderer.systemName, see RendererResources.
The renderer needs CameraSystem before it in the systems list. Put it after
every system that moves actors or changes their view components.
Draws the actors that have a view component: Sprite, Shape, BitmapText, Mesh or PixiView.
The system registers RendererAPI in
world.systemApi.Options:
windowNodeId: the id of the element the renderer adds its canvas to.backgroundColor: the window background color.filterEffects: post-processing effects for the whole screen.The global option
sortingsets the sorting layers and the draw order, see Sorting. Pass your shaders and filter effects inresourcesunderRenderer.systemName, see RendererResources.The renderer needs CameraSystem before it in the systems list. Put it after every system that moves actors or changes their view components.
See
Rendering