#include <rendering_world.hpp>
◆ World() [1/3]
Constructs a world.
- Parameters
-
[in,out] | device | A reference to the device. |
[in,out] | display_configuration | A reference to the display configuration. |
[in,out] | resource_manager | A reference to the resource manager. |
◆ World() [2/3]
mage::rendering::World::World |
( |
const World & |
world | ) |
|
|
delete |
Constructs a world from the given world.
- Parameters
-
[in] | world | A reference to the world. |
◆ World() [3/3]
mage::rendering::World::World |
( |
World && |
world | ) |
|
|
defaultnoexcept |
Constructs a world by moving the given world.
- Parameters
-
[in] | world | A reference to the world to move. |
◆ ~World()
mage::rendering::World::~World |
( |
| ) |
|
|
virtualdefault |
◆ Clear()
void mage::rendering::World::Clear |
( |
| ) |
|
|
noexcept |
◆ Create()
template<typename ComponentT >
ProxyPtr< ComponentT > mage::rendering::World::Create |
( |
| ) |
|
◆ ForEach() [1/2]
template<typename ComponentT , typename ActionT >
void mage::rendering::World::ForEach |
( |
ActionT && |
action | ) |
|
◆ ForEach() [2/2]
template<typename ComponentT , typename ActionT >
void mage::rendering::World::ForEach |
( |
ActionT && |
action | ) |
const |
◆ GetNumberOf()
template<typename ComponentT >
std::size_t mage::rendering::World::GetNumberOf |
( |
| ) |
const |
|
noexcept |
◆ operator=() [1/2]
World& mage::rendering::World::operator= |
( |
const World & |
world | ) |
|
|
delete |
Copies the given world to this world.
- Parameters
-
[in] | world | A reference to the world to copy. |
- Returns
- A reference to the copy of the given world (i.e. this world).
◆ operator=() [2/2]
World & mage::rendering::World::operator= |
( |
World && |
world | ) |
|
|
defaultnoexcept |
Moves the given world to this world.
- Parameters
-
[in] | world | A reference to the world to move. |
- Returns
- A reference to the moved world (i.e. this world).
◆ m_ambient_lights
A vector containing the ambient lights of this world.
◆ m_device
std::reference_wrapper< ID3D11Device > mage::rendering::World::m_device |
|
private |
A reference to the device of this world.
◆ m_directional_lights
A vector containing the directional lights of this world.
◆ m_display_configuration
A reference to the display configuration manager of this world.
◆ m_models
A vector containing the models of this world.
◆ m_omni_lights
A vector containing the omni lights of this world.
◆ m_orthographic_cameras
A vector containing the orthographic cameras of this world.
◆ m_perspective_cameras
A vector containing the perspective cameras of this world.
◆ m_resource_manager
std::reference_wrapper< ResourceManager > mage::rendering::World::m_resource_manager |
|
private |
A reference to the resource manager of this world.
◆ m_spot_lights
A vector containing the spot lights of this world.
◆ m_sprite_images
A vector containing the sprite images of this world.
◆ m_sprite_texts
A vector containing the sprite texts of this world.