Lugdunum  0.1.0
Public Member Functions | Private Attributes | List of all members
lug::Graphics::Vulkan::API::Builder::Fence Class Reference

#include <Fence.hpp>

Collaboration diagram for lug::Graphics::Vulkan::API::Builder::Fence:
[legend]

Public Member Functions

 Fence (const API::Device &device)
 
 Fence (const Fence &)=delete
 
 Fence (Fence &&)=delete
 
Fenceoperator= (const Fence &)=delete
 
Fenceoperator= (Fence &&)=delete
 
 ~Fence ()=default
 
void setFlags (VkFenceCreateFlags flags)
 
bool build (API::Fence &instance, VkResult *returnResult=nullptr)
 
std::unique_ptr< API::Fencebuild (VkResult *returnResult=nullptr)
 

Private Attributes

const API::Device_device
 
VkFenceCreateFlags _flags {0}
 

Detailed Description

Definition at line 16 of file Fence.hpp.

Constructor & Destructor Documentation

◆ Fence() [1/3]

lug::Graphics::Vulkan::API::Builder::Fence::Fence ( const API::Device device)

Definition at line 11 of file Fence.cpp.

◆ Fence() [2/3]

lug::Graphics::Vulkan::API::Builder::Fence::Fence ( const Fence )
delete

◆ Fence() [3/3]

lug::Graphics::Vulkan::API::Builder::Fence::Fence ( Fence &&  )
delete

◆ ~Fence()

lug::Graphics::Vulkan::API::Builder::Fence::~Fence ( )
default

Member Function Documentation

◆ operator=() [1/2]

Fence& lug::Graphics::Vulkan::API::Builder::Fence::operator= ( const Fence )
delete

◆ operator=() [2/2]

Fence& lug::Graphics::Vulkan::API::Builder::Fence::operator= ( Fence &&  )
delete

◆ setFlags()

void Fence::setFlags ( VkFenceCreateFlags  flags)
inline

Definition at line 1 of file Fence.inl.

◆ build() [1/2]

bool lug::Graphics::Vulkan::API::Builder::Fence::build ( API::Fence instance,
VkResult *  returnResult = nullptr 
)

Definition at line 13 of file Fence.cpp.

◆ build() [2/2]

std::unique_ptr< API::Fence > lug::Graphics::Vulkan::API::Builder::Fence::build ( VkResult *  returnResult = nullptr)

Definition at line 38 of file Fence.cpp.

Member Data Documentation

◆ _device

const API::Device& lug::Graphics::Vulkan::API::Builder::Fence::_device
private

Definition at line 36 of file Fence.hpp.

◆ _flags

VkFenceCreateFlags lug::Graphics::Vulkan::API::Builder::Fence::_flags {0}
private

Definition at line 38 of file Fence.hpp.


The documentation for this class was generated from the following files: