TransformClearSystem Class
System that clears the dirty state of TransformComponents and ScaleComponents at the end of a frame. More...
Declaration
Base class
| class | System |
|
Abstract base class for game systems. More... | |
Public Member Functions Index
| void | update (helios::engine::runtime::world::UpdateContext &updateContext) noexcept override |
|
Updates the system, clearing dirty flags of Transform- and ScaleStateComponent. More... | |
Description
System that clears the dirty state of TransformComponents and ScaleComponents at the end of a frame.
This system runs in the post-update phase. It iterates over all TransformComponents and resets their dirty flag if it was set. This ensures that changes are only processed once per frame by other systems (like SceneSyncSystem).
Definition at line 32 of file TransformClearSystem.ixx.
Public Member Functions
update()
| inline noexcept virtual |
Updates the system, clearing dirty flags of Transform- and ScaleStateComponent.
- Parameters
-
updateContext The update context.
Definition at line 42 of file TransformClearSystem.ixx.
Reference helios::engine::ecs::System::gameWorld_.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.