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
Vulkan
API
Sampler.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
lug/Graphics/Export.hpp
>
4
#include <
lug/Graphics/Vulkan/Vulkan.hpp
>
5
6
namespace
lug
{
7
namespace
Graphics {
8
namespace
Vulkan
{
9
namespace
API {
10
11
namespace
Builder {
12
class
Sampler;
13
}
// Builder
14
15
class
Device;
16
17
class
LUG_GRAPHICS_API
Sampler
{
18
friend
class
Builder::Sampler
;
19
20
public
:
21
Sampler
() =
default
;
22
23
Sampler
(
const
Sampler
&) =
delete
;
24
Sampler
(
Sampler
&& sampler);
25
26
Sampler
& operator=(
const
Sampler
&) =
delete
;
27
Sampler
& operator=(
Sampler
&& sampler);
28
29
~
Sampler
();
30
31
explicit
operator
VkSampler()
const
{
32
return
_sampler;
33
}
34
35
void
destroy();
36
37
private
:
38
explicit
Sampler
(VkSampler sampler,
const
Device
* device);
39
40
private
:
41
VkSampler _sampler{VK_NULL_HANDLE};
42
const
Device
* _device{
nullptr
};
43
};
44
45
}
// API
46
}
// Vulkan
47
}
// Graphics
48
}
// lug
LUG_GRAPHICS_API
#define LUG_GRAPHICS_API
Definition:
Export.hpp:11
lug::Graphics::Vulkan::API::Builder::Sampler
Definition:
Sampler.hpp:16
Vulkan
Definition:
Vulkan.hpp:155
lug::Graphics::Vulkan::API::Device
Definition:
Device.hpp:16
Vulkan.hpp
lug
Definition:
Application.hpp:11
lug::Graphics::Vulkan::API::Sampler
Definition:
Sampler.hpp:17
Export.hpp
Generated by
1.8.13