Function registry

Synopsis

#include <src/entt/entity/handle.hpp>

registry_type * registry() const noexcept

Description

Returns a pointer to the underlying registry, if any.

Return
A pointer to the underlying registry, if any.

Source

Lines 104-106 in src/entt/entity/handle.hpp.

[[nodiscard]] registry_type * registry() const ENTT_NOEXCEPT {
    return reg;
}





Add Discussion

Log in to comment