![]() |
Rendering Engine 0.2.9
Modular Graphics Rendering Engine | v0.2.9
|
Scene::Spawn<T> specializations for built-in drawable types. More...
#include "scene.hpp"#include "scene_manager.hpp"#include "static_mesh.hpp"#include "sprite_2d.hpp"#include "text_block_2d.hpp"#include "rectangle_2d.hpp"Go to the source code of this file.
Namespaces | |
| namespace | rendering_engine |
Functions | |
| template<> | |
| Sprite2D * | rendering_engine::Scene::Spawn< Sprite2D, std::string > (std::string textureName) |
| template<> | |
| TextBlock2D * | rendering_engine::Scene::Spawn< TextBlock2D, TextBlock2D::Properties > (TextBlock2D::Properties prop) |
| template<> | |
| Sprite2D * | rendering_engine::Scene::Spawn< Sprite2D, std::string > (std::string textureName) |
| template<> | |
| TextBlock2D * | rendering_engine::Scene::Spawn< TextBlock2D, TextBlock2D::Properties > (TextBlock2D::Properties prop) |
| template<> | |
| Rectangle2D * | rendering_engine::Scene::Spawn< Rectangle2D, Rectangle2D::Properties > (Rectangle2D::Properties prop) |
Scene::Spawn<T> specializations for built-in drawable types.
This file provides explicit template specializations of Scene::Spawn<T>() for engine-supported drawable classes (e.g. StaticMesh, Sprite2D, TextBlock2D).
Including this file enables spawning of the corresponding drawable types. Scene itself remains generic and unaware of concrete drawable implementations.
Definition in file spawn_drawables.hpp.