Crimson Engine
1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Toggle main menu visibility
Loading...
Searching...
No Matches
EntityCloner.hpp
Go to the documentation of this file.
1
#pragma once
2
#include "
ecs/Entity.hpp
"
3
#include "
ecs/Registry.hpp
"
4
5
class
VulkanRenderer
;
6
11
namespace
EntityCloner
{
19
Entity
clone
(
Registry
& registry,
VulkanRenderer
& renderer,
Entity
source);
20
}
Entity.hpp
Registry.hpp
Entity
Lightweight identifier representing a game object in the Entity Component System.
Definition
Entity.hpp:11
Registry
Coordinates entities and components, providing creation, removal, lookup, and views.
Definition
Registry.hpp:30
VulkanRenderer
Manages core Vulkan pipeline states, device interaction, frames, buffers, and command submissions.
Definition
VulkanRenderer.hpp:127
EntityCloner
Utilities for cloning/duplicating ECS entities and their associated components.
EntityCloner::clone
Entity clone(Registry ®istry, VulkanRenderer &renderer, Entity source)
Creates a duplicate of an existing entity, copying its components.
Definition
EntityCloner.cpp:31
engine
include
ecs
EntityCloner.hpp
Generated by
1.17.0