Class: RenderController
renderer/controller.RenderController
Handles flush orders of Renderers
Constructors
constructor
โข new RenderController()
Properties
renderers
โข renderers: typeof Renderer
[] = []
Defined in
src/renderer/controller.ts:8
Methods
addRenderer
โธ addRenderer(renderer
): void
Adds a renderer to the controller.
Parameters
Name | Type | Description |
---|---|---|
renderer | typeof Renderer | The renderer to add |
Returns
void
Defined in
src/renderer/controller.ts:39
addRenderers
โธ addRenderers(...renderers
): void
Adds the given renderers to the controller.
Parameters
Name | Type | Description |
---|---|---|
...renderers | typeof Renderer [] | The renderers to add |
Returns
void
Defined in
src/renderer/controller.ts:48
flush
โธ flush(): void
Flushes all Renderers.
Returns
void
Defined in
src/renderer/controller.ts:13
removeRenderer
โธ removeRenderer(renderer
): void
Removes a renderer from the controller.
Parameters
Name | Type | Description |
---|---|---|
renderer | Renderer | The renderer to remove |
Returns
void
Defined in
src/renderer/controller.ts:57