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
Vulkan
Render
Texture.cpp
Go to the documentation of this file.
1
#include <
lug/Graphics/Vulkan/Render/Texture.hpp
>
2
#include <
lug/System/Logger/Logger.hpp
>
3
4
namespace
lug
{
5
namespace
Graphics {
6
namespace
Vulkan
{
7
namespace
Render {
8
9
Texture::Texture
(
const
std::string& name) : ::
lug
::
Graphics
::Render::
Texture
(name) {}
10
11
Texture::~Texture
() {
12
destroy
();
13
}
14
15
void
Texture::destroy
() {
16
_sampler
.
destroy
();
17
_imageView
.
destroy
();
18
_image
.
destroy
();
19
}
20
21
}
// Render
22
}
// Vulkan
23
}
// Graphics
24
}
// lug
lug::Graphics::Vulkan::Render::Texture::_imageView
API::ImageView _imageView
Definition:
Texture.hpp:43
lug::Graphics::Vulkan::API::Sampler::destroy
void destroy()
Definition:
Sampler.cpp:34
lug::Graphics::Vulkan::Render::Texture::Texture
Texture(const Texture &)=delete
lug::Graphics::Vulkan::Render::Texture::_image
API::Image _image
Definition:
Texture.hpp:42
Texture.hpp
lug::Graphics::Vulkan::Render::Texture::destroy
void destroy()
Definition:
Texture.cpp:15
lug::Graphics::Vulkan::API::Image::destroy
void destroy()
Definition:
Image.cpp:68
Vulkan
Definition:
Vulkan.hpp:155
lug::Graphics::Vulkan::Render::Texture::_sampler
API::Sampler _sampler
Definition:
Texture.hpp:44
Logger.hpp
lug::Graphics::Vulkan::Render::Texture
Definition:
Texture.hpp:18
lug::Graphics::Vulkan::Render::Texture::~Texture
~Texture()
Definition:
Texture.cpp:11
lug::Graphics::Vulkan::API::ImageView::destroy
void destroy()
Definition:
ImageView.cpp:38
lug
Definition:
Application.hpp:11
lug::Graphics::Graphics
Class for graphics.
Definition:
Graphics.hpp:25
Generated by
1.8.13