Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Ecs::RegistryManager Class Reference

Singleton which holds the entt registry. More...

#include <RegistryManager.h>

Public Member Functions

 RegistryManager ()=default
 RegistryManager (const RegistryManager &)=delete
RegistryManageroperator= (const RegistryManager &)=delete
 RegistryManager (RegistryManager &&other) noexcept=delete
RegistryManageroperator= (RegistryManager &&)=delete

Static Public Member Functions

static entt::registry & get ()
 Gets the registry for all components.

Static Private Attributes

static entt::registry m_registry

Detailed Description

Singleton which holds the entt registry.

Author
Konstantin Passig
Date
03.12.2025

Definition at line 12 of file RegistryManager.h.

Constructor & Destructor Documentation

◆ RegistryManager() [1/3]

Ecs::RegistryManager::RegistryManager ( )
default

Referenced by operator=(), operator=(), RegistryManager(), and RegistryManager().

Here is the caller graph for this function:

◆ RegistryManager() [2/3]

Ecs::RegistryManager::RegistryManager ( const RegistryManager & )
delete

References RegistryManager().

Here is the call graph for this function:

◆ RegistryManager() [3/3]

Ecs::RegistryManager::RegistryManager ( RegistryManager && other)
deletenoexcept

References RegistryManager().

Here is the call graph for this function:

Member Function Documentation

◆ get()

entt::registry & Ecs::RegistryManager::get ( )
static

Gets the registry for all components.

Returns
the registry for all components
Author
Konstantin Passig
Date
03.12.2025

Definition at line 5 of file RegistryManager.cpp.

Referenced by EngineCore::CameraComponent::beginPlay(), EngineCore::MeshComponent::beginPlay(), EngineCore::Entity::canTick(), EngineCore::NodeFactory::createNode(), EngineCore::NodeFactory::createNodes(), EngineCore::NodeFactory::createRoot(), EngineCore::Entity::enableTick(), EngineCore::Actor::endPlay(), EngineCore::CameraComponent::endPlay(), EngineCore::MeshComponent::endPlay(), EngineCore::PhysicsBodyComponent::endPlay(), EngineCore::Entity::Entity(), EngineCore::Engine::fixLoadingAssets(), EngineCore::Engine::getRenderableSceneObjectCount(), EngineCore::CameraComponent::isActive(), EngineCore::MeshComponent::MeshComponent(), EngineCore::RenderingDataManager::onTextureLoaded(), EngineCore::PhysicsEngine::PhysicsEngine(), EngineCore::RenderingDataManager::processCompletedMeshletGenerations(), Ecs::ModelAssetPipeline::processMaterial(), Ecs::ModelAssetPipeline::processMeshData(), EngineCore::SceneComponent::SceneComponent(), EngineCore::SceneComponent::SceneComponent(), EngineCore::SceneComponent::SceneComponent(), EngineCore::SceneComponent::SceneComponent(), EngineCore::SceneComponent::SceneComponent(), EngineCore::CameraComponent::setActive(), EngineCore::CameraComponent::setAspectRatio(), EngineCore::CameraComponent::setFarPlane(), EngineCore::CameraComponent::setFov(), EngineCore::CameraComponent::setNearPlane(), EngineCore::SceneComponent::setParent(), EngineCore::RenderingDataManager::snapshotRenderableMeshes(), EngineCore::PhysicsBodyComponent::teleport(), EngineCore::Engine::update(), EngineCore::PhysicsBodyComponent::updateEcsComponent(), EngineCore::RenderingDataManager::updatePrimitiveData(), EngineCore::RenderingDataManager::updatePrimitiveDataInstanced(), and EngineCore::RenderingDataManager::updateTransforms().

Here is the caller graph for this function:

◆ operator=() [1/2]

RegistryManager & Ecs::RegistryManager::operator= ( const RegistryManager & )
delete

References RegistryManager().

Here is the call graph for this function:

◆ operator=() [2/2]

RegistryManager & Ecs::RegistryManager::operator= ( RegistryManager && )
delete

References RegistryManager().

Here is the call graph for this function:

Member Data Documentation

◆ m_registry

entt::registry Ecs::RegistryManager::m_registry
staticprivate

Definition at line 34 of file RegistryManager.h.


The documentation for this class was generated from the following files: