Lugdunum
0.1.0
include
lug
Graphics
Vulkan
API
Builder
Semaphore.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <memory>
4
5
#include <
lug/Graphics/Vulkan/API/Semaphore.hpp
>
6
7
namespace
lug
{
8
namespace
Graphics {
9
namespace
Vulkan
{
10
namespace
API {
11
12
class
Device;
13
14
namespace
Builder {
15
16
class
Semaphore
{
17
public
:
18
Semaphore
(
const
API::Device
& device);
19
20
Semaphore
(
const
Semaphore
&) =
delete
;
21
Semaphore
(
Semaphore
&&) =
delete
;
22
23
Semaphore
&
operator=
(
const
Semaphore
&) =
delete
;
24
Semaphore
&
operator=
(
Semaphore
&&) =
delete
;
25
26
~Semaphore
() =
default
;
27
28
// Build methods
29
bool
build
(
API::Semaphore
& instance, VkResult* returnResult =
nullptr
);
30
std::unique_ptr<API::Semaphore>
build
(VkResult* returnResult =
nullptr
);
31
32
private
:
33
const
API::Device
&
_device
;
34
};
35
36
}
// Builder
37
}
// API
38
}
// Vulkan
39
}
// Graphics
40
}
// lug
lug::Graphics::Vulkan::API::Builder::Semaphore::build
bool build(API::Semaphore &instance, VkResult *returnResult=nullptr)
Definition:
Semaphore.cpp:13
Semaphore.hpp
Vulkan
Definition:
Vulkan.hpp:155
lug::Graphics::Vulkan::API::Device
Definition:
Device.hpp:16
lug::Graphics::Vulkan::API::Builder::Semaphore::Semaphore
Semaphore(const API::Device &device)
Definition:
Semaphore.cpp:11
lug::Graphics::Vulkan::API::Semaphore
Definition:
Semaphore.hpp:17
lug::Graphics::Vulkan::API::Builder::Semaphore::_device
const API::Device & _device
Definition:
Semaphore.hpp:33
lug
Definition:
Application.hpp:11
lug::Graphics::Vulkan::API::Builder::Semaphore::operator=
Semaphore & operator=(const Semaphore &)=delete
lug::Graphics::Vulkan::API::Builder::Semaphore
Definition:
Semaphore.hpp:16
lug::Graphics::Vulkan::API::Builder::Semaphore::~Semaphore
~Semaphore()=default
Generated by
1.8.13