registry/entt_registry.hpp
-
class gviz::registry::EnTTRegistry
Public Types
-
using entity_type = entt::entity
Public Functions
-
inline auto &raw_registry() noexcept
-
inline const auto &raw_registry() const noexcept
-
inline entity_type create()
-
inline void destroy(entity_type entity)
-
inline void clear()
-
template<typename Attr>
inline auto get(entity_type entity) noexcept -> utils::OptionalRef<Attr>
-
template<typename Attr>
inline auto get(entity_type entity) const noexcept -> utils::OptionalRef<const Attr>
-
template<typename Attr, typename ...Rest>
inline bool has(entity_type entity) const noexcept
-
template<typename Attr, typename F>
inline auto update(entity_type entity, F &&func) -> utils::OptionalRef<Attr>
-
template<typename Attr, typename ValT>
inline auto set(entity_type entity, ValT &&value) -> utils::OptionalRef<Attr>
-
template<typename Attr, typename ...Args>
inline auto emplace(entity_type entity, Args&&... args) -> utils::OptionalRef<Attr>
-
template<typename Attr>
inline bool remove(entity_type entity)
Private Members
-
entt::registry registry_
-
using entity_type = entt::entity
-
namespace gviz
-
namespace registry
- file entt_registry.hpp
- #include <>#include <>#include <>#include <>#include <>#include <>#include <>#include “”
- dir /home/cthulhu/projects/repos/libgvizard/include/gvizard
- dir /home/cthulhu/projects/repos/libgvizard/include
- dir /home/cthulhu/projects/repos/libgvizard/include/gvizard/registry