Lugdunum
0.1.0
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