SystemInterface
in
Table of Contents
Methods
- register() : void
- Registers the system, this is where you should register all required components.
- render() : void
- Handles rendering of the scene, here you can attach additional render passes, modify the render pipeline or customize rendering related data.
- unregister() : void
- Unregisters the system, this is where you can handle any cleanup.
- update() : void
- Updates handler, this is where the game state should be updated.
Methods
register()
Registers the system, this is where you should register all required components.
public
register(EntitiesInterface $entities) : void
Parameters
- $entities : EntitiesInterface
render()
Handles rendering of the scene, here you can attach additional render passes, modify the render pipeline or customize rendering related data.
public
render(EntitiesInterface $entities, RenderContext $context) : void
Parameters
- $entities : EntitiesInterface
- $context : RenderContext
unregister()
Unregisters the system, this is where you can handle any cleanup.
public
unregister(EntitiesInterface $entities) : void
Parameters
- $entities : EntitiesInterface
update()
Updates handler, this is where the game state should be updated.
public
update(EntitiesInterface $entities) : void
Parameters
- $entities : EntitiesInterface