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
src
lug
Graphics
Resource.cpp
Go to the documentation of this file.
1
#include <
lug/Graphics/Resource.hpp
>
2
3
namespace
lug
{
4
namespace
Graphics {
5
6
Resource::Resource
(
Resource::Type
type,
const
std::string& name) {
7
_handle
.
type
=
static_cast<
uint8_t
>
(type);
8
_handle
.
index
= 0;
9
_name
= name;
10
}
11
12
}
// Graphics
13
}
// lug
lug::Graphics::Resource::Resource
Resource(Type type, const std::string &name)
Definition:
Resource.cpp:6
Resource.hpp
lug::Graphics::Resource::_name
std::string _name
Definition:
Resource.hpp:193
lug
Definition:
Application.hpp:11
lug::Graphics::Resource::Type
Type
Type of the resource.
Definition:
Resource.hpp:24
lug::Graphics::Resource::_handle
Handle _handle
Definition:
Resource.hpp:196
lug::Graphics::Resource::Handle::type
uint32_t type
Type of the ressource.
Definition:
Resource.hpp:44
lug::Graphics::Resource::Handle::index
uint32_t index
Index of the Resource in the ResourceManager's internal storage.
Definition:
Resource.hpp:45
Generated by
1.8.13