Lugdunum
0.1.0
Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
Variables
Typedefs
Enumerations
Enumerator
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
x
y
Typedefs
Enumerations
+
Related Functions
:
b
c
d
g
l
p
s
w
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
+
Macros
d
f
l
n
s
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
lug
Graphics
Loader.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
5
#include <
lug/Graphics/Export.hpp
>
6
#include <
lug/Graphics/Resource.hpp
>
7
8
namespace
lug
{
9
namespace
Graphics {
10
11
class
Renderer;
12
16
class
LUG_GRAPHICS_API
Loader
{
17
public
:
18
Loader
(
Renderer
& renderer);
19
20
Loader
(
const
Loader
&) =
delete
;
21
Loader
(
Loader
&&) =
delete
;
22
23
Loader
& operator=(
const
Loader
&) =
delete
;
24
Loader
& operator=(
Loader
&&) =
delete
;
25
26
virtual
~
Loader
() =
default
;
27
33
virtual
Resource::SharedPtr<Resource>
loadFile(
const
std::string& filename) = 0;
34
35
protected
:
36
Renderer
&
_renderer
;
37
};
38
39
}
// Graphics
40
}
// lug
lug::Graphics::Loader
Class for loading a type of file.
Definition:
Loader.hpp:16
LUG_GRAPHICS_API
#define LUG_GRAPHICS_API
Definition:
Export.hpp:11
lug::Graphics::Resource::SharedPtr
Dummy class for a shared pointer.
Definition:
Resource.hpp:66
Resource.hpp
lug::Graphics::Renderer
Definition:
Renderer.hpp:18
lug
Definition:
Application.hpp:11
Export.hpp
lug::Graphics::Loader::_renderer
Renderer & _renderer
Definition:
Loader.hpp:36
Generated by
1.8.13