Engine → ECS → observer.h
observer_id
| Type | Struct |
| Namespace | conjure::ecs |
| Include File Path | engine/include/conjure/ecs/observer.h |
| Source File Path | N/A |
| API ↗ | Command buffers and observers |
Syntax
Variables
| Access | Name | Type | Default | Description |
|---|---|---|---|---|
| public | generation | u32 | 0 | |
| public | index | u32 | 0 |
Functions
Public
is_valid
is_valid[[nodiscard]] constexpr bool is_valid() const noexcept;True for a handle returned by observe()/observe_destroyed() (generation 0 is never issued).
Operator Overloads
Public
operator==
operator==[[nodiscard]] constexpr bool operator==(
const observer_id &other) const noexcept = default;