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

#include <Surface.hpp>

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

Public Member Functions

 Surface ()=default
 
 Surface (const Surface &)=delete
 
 Surface (Surface &&surface)
 
Surfaceoperator= (const Surface &)=delete
 
Surfaceoperator= (Surface &&surface)
 
 ~Surface ()
 
 operator VkSurfaceKHR () const
 
void destroy ()
 

Private Member Functions

 Surface (VkSurfaceKHR surface, const Instance *instance)
 

Private Attributes

VkSurfaceKHR _surface {VK_NULL_HANDLE}
 
const Instance_instance {nullptr}
 

Friends

class Builder::Surface
 

Detailed Description

Definition at line 17 of file Surface.hpp.

Constructor & Destructor Documentation

◆ Surface() [1/4]

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

◆ Surface() [2/4]

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

◆ Surface() [3/4]

lug::Graphics::Vulkan::API::Surface::Surface ( Surface &&  surface)

Definition at line 12 of file Surface.cpp.

◆ ~Surface()

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

Definition at line 30 of file Surface.cpp.

◆ Surface() [4/4]

lug::Graphics::Vulkan::API::Surface::Surface ( VkSurfaceKHR  surface,
const Instance instance 
)
explicitprivate

Definition at line 10 of file Surface.cpp.

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

Surface & lug::Graphics::Vulkan::API::Surface::operator= ( Surface &&  surface)

Definition at line 19 of file Surface.cpp.

◆ operator VkSurfaceKHR()

lug::Graphics::Vulkan::API::Surface::operator VkSurfaceKHR ( ) const
inlineexplicit

Definition at line 31 of file Surface.hpp.

◆ destroy()

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

Definition at line 34 of file Surface.cpp.

Friends And Related Function Documentation

◆ Builder::Surface

friend class Builder::Surface
friend

Definition at line 18 of file Surface.hpp.

Member Data Documentation

◆ _surface

VkSurfaceKHR lug::Graphics::Vulkan::API::Surface::_surface {VK_NULL_HANDLE}
private

Definition at line 41 of file Surface.hpp.

◆ _instance

const Instance* lug::Graphics::Vulkan::API::Surface::_instance {nullptr}
private

Definition at line 42 of file Surface.hpp.


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