Lugdunum
0.1.0
include
lug
Graphics
Vulkan
Render
DescriptorSetPool
DescriptorSet.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
lug/Graphics/Vulkan/API/DescriptorSet.hpp
>
4
5
namespace
lug
{
6
namespace
Graphics {
7
namespace
Vulkan
{
8
namespace
Render {
9
namespace
DescriptorSetPool {
10
11
template
<
size_t
maxSets>
12
class
DescriptorSetPool
;
13
14
class
LUG_GRAPHICS_API
DescriptorSet
{
15
template
<
size_t
maxSets>
16
friend
class
DescriptorSetPool
;
17
18
public
:
19
DescriptorSet
() =
default
;
20
DescriptorSet
(
API::DescriptorSet
descriptorSet);
21
22
DescriptorSet
(
const
DescriptorSet
&) =
delete
;
23
DescriptorSet
(
DescriptorSet
&&) =
delete
;
24
25
DescriptorSet
& operator=(
const
DescriptorSet
&) =
delete
;
26
DescriptorSet
& operator=(
DescriptorSet
&&) =
delete
;
27
28
~
DescriptorSet
() =
default
;
29
30
const
API::DescriptorSet
& getDescriptorSet()
const
;
31
32
size_t
getHash()
const
;
33
void
setHash(
size_t
hash);
34
35
private
:
36
API::DescriptorSet
_descriptorSet
;
37
38
size_t
_hash{0};
39
uint32_t _referenceCount{0};
40
};
41
42
#include <
lug/Graphics/Vulkan/Render/DescriptorSetPool/DescriptorSet.inl
>
43
44
}
// DescriptorSetPool
45
}
// Render
46
}
// Vulkan
47
}
// Graphics
48
}
// lug
lug::Graphics::Vulkan::API::DescriptorSet
Definition:
DescriptorSet.hpp:18
lug::Graphics::Vulkan::Render::DescriptorSetPool::DescriptorSet
Definition:
DescriptorSet.hpp:14
LUG_GRAPHICS_API
#define LUG_GRAPHICS_API
Definition:
Export.hpp:11
Vulkan
Definition:
Vulkan.hpp:155
lug::Graphics::Vulkan::Render::DescriptorSetPool::DescriptorSet::_descriptorSet
API::DescriptorSet _descriptorSet
Definition:
DescriptorSet.hpp:36
lug
Definition:
Application.hpp:11
DescriptorSet.hpp
lug::Graphics::Vulkan::Render::DescriptorSetPool::DescriptorSetPool
Definition:
DescriptorSet.hpp:12
DescriptorSet.inl
Generated by
1.8.13