Function basic_snapshot

Summary

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

(1) basic_snapshot(const basic_registry< entity_type > &source)

(2) basic_snapshot(basic_snapshot &&)=default

Function overload

Synopsis

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

basic_snapshot(const basic_registry< entity_type > &source)

Description

Constructs an instance that is bound to a given registry.

Parameters

source - A valid reference to a registry.

Source

Lines 70-71 in src/entt/entity/snapshot.hpp.

basic_snapshot(const basic_registry<entity_type> &source) ENTT_NOEXCEPT
    : reg{&source} {}

Synopsis

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

basic_snapshot(basic_snapshot &&)=default

Description

Default move constructor.

Source

Line 74 in src/entt/entity/snapshot.hpp.






Add Discussion

Log in to comment