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
6
namespace
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
16
int
Priority
;
17
};
18
19
}
20
21
#endif
OSDef.hpp
Sleak::Renderable
Definition
Renderable.hpp:10
Sleak::Renderable::Render
virtual void Render() const =0
Issues this object's draw commands for the current pass.
Sleak::Renderable::~Renderable
virtual ~Renderable()=default
Sleak::Renderable::Priority
int Priority
Definition
Renderable.hpp:16
Sleak
Root namespace for everything the engine exposes.
Definition
Camera.hpp:10
include
public
Runtime
Renderable.hpp
Generated on
for SleakEngine by
1.16.1