OpenLexocad
27.0
|
Converts a registry to a group. More...
#include <entt.hpp>
Public Types | |
using | registry_type = std::conditional_t< Const, const entt::basic_registry< Entity >, entt::basic_registry< Entity > > |
Type of registry to convert. More... | |
Public Member Functions | |
as_group (registry_type &source) ENTT_NOEXCEPT | |
Constructs a converter for a given registry. More... | |
template<typename Exclude , typename Get , typename... Owned> | |
operator entt::basic_group< Entity, Exclude, Get, Owned... > () const | |
Conversion function from a registry to a group. More... | |
Converts a registry to a group.
Const | Constness of the accepted registry. |
Entity | A valid entity type (see entt_traits for more details). |
using entt::as_group< Const, Entity >::registry_type = std::conditional_t<Const, const entt::basic_registry<Entity>, entt::basic_registry<Entity> > |
Type of registry to convert.
|
inline |
Constructs a converter for a given registry.
source | A valid reference to a registry. |
|
inline |
Conversion function from a registry to a group.
Exclude | Types of components used to filter the group. |
Get | Types of components observed by the group. |
Owned | Types of components owned by the group. |