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

#include <Instance.hpp>

Collaboration diagram for lug::Graphics::Vulkan::API::Instance:
[legend]

Public Member Functions

 Instance ()=default
 
 Instance (const Instance &)=delete
 
 Instance (Instance &&instance)
 
Instanceoperator= (const Instance &)=delete
 
Instanceoperator= (Instance &&instance)
 
 ~Instance ()
 
 operator VkInstance () const
 
template<typename Function >
Function getProcAddr (const char *name) const
 
void destroy ()
 
template<typename Function >
Function getProcAddr (const char *name) const
 

Private Member Functions

 Instance (VkInstance instance)
 

Private Attributes

VkInstance _instance {VK_NULL_HANDLE}
 

Friends

class Builder::Instance
 

Detailed Description

Definition at line 15 of file Instance.hpp.

Constructor & Destructor Documentation

◆ Instance() [1/4]

lug::Graphics::Vulkan::API::Instance::Instance ( )
default

◆ Instance() [2/4]

lug::Graphics::Vulkan::API::Instance::Instance ( const Instance )
delete

◆ Instance() [3/4]

lug::Graphics::Vulkan::API::Instance::Instance ( Instance &&  instance)

Definition at line 10 of file Instance.cpp.

◆ ~Instance()

lug::Graphics::Vulkan::API::Instance::~Instance ( )

Definition at line 24 of file Instance.cpp.

◆ Instance() [4/4]

lug::Graphics::Vulkan::API::Instance::Instance ( VkInstance  instance)
explicitprivate

Definition at line 8 of file Instance.cpp.

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

Instance & lug::Graphics::Vulkan::API::Instance::operator= ( Instance &&  instance)

Definition at line 15 of file Instance.cpp.

◆ operator VkInstance()

lug::Graphics::Vulkan::API::Instance::operator VkInstance ( ) const
inlineexplicit

Definition at line 29 of file Instance.hpp.

◆ getProcAddr() [1/2]

template<typename Function >
Function lug::Graphics::Vulkan::API::Instance::getProcAddr ( const char *  name) const

◆ destroy()

void lug::Graphics::Vulkan::API::Instance::destroy ( )

Definition at line 28 of file Instance.cpp.

◆ getProcAddr() [2/2]

template<typename Function >
Function lug::Graphics::Vulkan::API::Instance::getProcAddr ( const char *  name) const
inline

Definition at line 2 of file Instance.inl.

Friends And Related Function Documentation

◆ Builder::Instance

friend class Builder::Instance
friend

Definition at line 16 of file Instance.hpp.

Member Data Documentation

◆ _instance

VkInstance lug::Graphics::Vulkan::API::Instance::_instance {VK_NULL_HANDLE}
private

Definition at line 42 of file Instance.hpp.


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