SleakEngine 1.0.0
C++23 multi-backend game engine
Loading...
Searching...
No Matches
Renderable.hpp
Go to the documentation of this file.
1#ifndef _RENDERABLE_HPP
2#define _RENDERABLE_HPP
3
4#include <Core/OSDef.hpp>
5
6namespace Sleak {
7
8 /// Interface for anything the renderer can submit a draw for, ordered by Priority.
9 /// @ingroup rendering
10 class ENGINE_API Renderable {
11 public:
12 virtual ~Renderable() = default;
13 /// Issues this object's draw commands for the current pass.
14 virtual void Render() const = 0;
15
17 };
18
19}
20
21#endif
virtual void Render() const =0
Issues this object's draw commands for the current pass.
virtual ~Renderable()=default
Root namespace for everything the engine exposes.
Definition Camera.hpp:10