EnTT 3.14.0
|
Converts a registry to a group. More...
#include <helper.hpp>
Public Types | |
using | registry_type = Registry |
Type of registry to convert. | |
using | entity_type = typename registry_type::entity_type |
Underlying entity identifier. | |
Public Member Functions | |
as_group (registry_type &source) noexcept | |
Constructs a converter for a given registry. | |
template<typename Owned , typename Get , typename Exclude > | |
operator basic_group< Owned, Get, Exclude > () const | |
Conversion function from a registry to a group. | |
Converts a registry to a group.
Registry | Basic registry type. |
Definition at line 61 of file helper.hpp.
using entt::as_group< Registry >::entity_type = typename registry_type::entity_type |
Underlying entity identifier.
Definition at line 75 of file helper.hpp.
Type of registry to convert.
Definition at line 73 of file helper.hpp.
|
inlinenoexcept |
Constructs a converter for a given registry.
source | A valid reference to a registry. |
Definition at line 81 of file helper.hpp.
|
inline |
Conversion function from a registry to a group.
Owned | Types of owned by the group. |
Get | Types of storage observed by the group. |
Exclude | Types of storage used to filter the group. |
Definition at line 92 of file helper.hpp.