Doxybook2 Example
src
Graphics
Handle.hpp
Go to the documentation of this file.
1
#pragma once
2
3
namespace
Engine
{
4
namespace
Graphics {
8
class
Handle
{
9
public
:
10
Handle
() =
default
;
11
virtual
~Handle
() =
default
;
12
13
int
getHandle
()
const
{
14
return
handle
;
15
}
16
17
protected
:
18
// OpenGL handle
19
int
handle
;
20
};
21
26
inline
int
getHandle
(
Handle
& handle) {
27
return
handle.
getHandle
();
28
}
29
}
// namespace Graphics
30
}
// namespace Engine
Engine::Graphics::Handle
Definition:
Handle.hpp:8
Engine::Graphics::Handle::handle
int handle
Definition:
Handle.hpp:19
Engine::Graphics::Handle::Handle
Handle()=default
Engine::Graphics::Handle::getHandle
int getHandle() const
Definition:
Handle.hpp:13
Engine
This namespace contains all of the necessary engine components.
Definition:
Asset.hpp:5
Engine::Graphics::getHandle
int getHandle(Handle &handle)
Some namespace inline function.
Definition:
Handle.hpp:26
Engine::Graphics::Handle::~Handle
virtual ~Handle()=default
Generated by
1.8.17