ClearDirtySystem Class Template
Clears dirty flags for configured component templates on active entities. More...
Declaration
Public Member Typedefs Index
template < ... > | |
| using | EngineRoleTag = SystemRole |
|
Role tag used for runtime registration as a system. More... | |
Public Member Functions Index
template < ... > | |
| void | update (UpdateContext &updateContext) noexcept |
|
Executes the dirty-clear pass for all configured component types. More... | |
Private Member Functions Index
template <template< typename > typename TComponent> | |
| void | clearDirtyFor (UpdateContext &updateContext) |
|
Clears the dirty flag for one component type. More... | |
template <template< typename > typename... Args> | |
| void | clearDirtyForAll (UpdateContext &updateContext) |
|
Clears dirty flags for all configured component types. More... | |
Description
Clears dirty flags for configured component templates on active entities.
Iterates active entities for each configured component type and calls clearDirty() on matching components.
- Template Parameters
-
TMemberHandle Entity handle type.
TComponents Component templates that satisfy IsDirtyTrackerLike.
Definition at line 32 of file ClearDirtySystem.ixx.
Public Member Typedefs
EngineRoleTag
|
Role tag used for runtime registration as a system.
Definition at line 67 of file ClearDirtySystem.ixx.
Public Member Functions
update()
| inline noexcept |
Executes the dirty-clear pass for all configured component types.
- Parameters
-
updateContext Frame-local update context with ECS access.
Definition at line 74 of file ClearDirtySystem.ixx.
Reference helios::registerComponents.
Private Member Functions
clearDirtyFor()
| inline |
Clears the dirty flag for one component type.
- Template Parameters
-
TComponent Component template to process.
- Parameters
-
updateContext Frame-local update context.
Definition at line 41 of file ClearDirtySystem.ixx.
clearDirtyForAll()
| inline |
Clears dirty flags for all configured component types.
- Template Parameters
-
Args Component templates to process.
- Parameters
-
updateContext Frame-local update context.
Definition at line 57 of file ClearDirtySystem.ixx.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.