My Project
Loading...
Searching...
No Matches
scene.h
Go to the documentation of this file.
1
// Copyright (c) 2025 Milton McDonald
2
// This source code is licensed under the MIT License. See LICENSE file in the
3
// project root for details.
4
5
#ifndef ENGINE_LIB_SCENE_H_
6
#define ENGINE_LIB_SCENE_H_
7
8
#include <memory>
9
10
#include "
types.h
"
11
12
namespace
graphics_engine::scene
{
13
14
class
Scene
{
15
public
:
16
virtual
~Scene
() =
default
;
17
[[nodiscard]]
virtual
auto
Render
() const -> types::Expected<
void
> = 0;
18
};
19
20
using
ScenePtr
= std::unique_ptr<
Scene
>;
21
22
}
// namespace graphics_engine::scene
23
24
#endif
// ENGINE_LIB_SCENE_H_
graphics_engine::scene::Scene
Definition
scene.h:14
graphics_engine::scene::Scene::Render
virtual auto Render() const -> types::Expected< void >=0
graphics_engine::scene::Scene::~Scene
virtual ~Scene()=default
graphics_engine::scene
Definition
scene.h:12
graphics_engine::scene::ScenePtr
std::unique_ptr< Scene > ScenePtr
Definition
scene.h:20
types.h
engine-lib
include
graphics-engine
scene.h
Generated by
1.9.8