OpenLexocad
28.0
|
Collector. More...
#include <entt.hpp>
Static Public Member Functions | |
template<typename... AllOf, typename... NoneOf> | |
static constexpr auto | group (exclude_t< NoneOf... >={}) ENTT_NOEXCEPT |
Adds a grouping matcher to the collector. More... | |
template<typename AnyOf > | |
static constexpr auto | replace () ENTT_NOEXCEPT |
Adds an observing matcher to the collector. More... | |
Collector.
A collector contains a set of rules (literally, matchers) to use to track entities.
Its main purpose is to generate a descriptor that allows an observer to know how to connect to a registry.
|
inlinestaticconstexpr |
Adds a grouping matcher to the collector.
AllOf | Types of components tracked by the matcher. |
NoneOf | Types of components used to filter out entities. |
|
inlinestaticconstexpr |
Adds an observing matcher to the collector.
AnyOf | Type of component for which changes should be detected. |