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

#include <Framebuffer.hpp>

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

Classes

struct  Extent
 

Public Member Functions

 Framebuffer ()=default
 
 Framebuffer (const Framebuffer &)=delete
 
 Framebuffer (Framebuffer &&Framebuffer)
 
Framebufferoperator= (const Framebuffer &)=delete
 
Framebufferoperator= (Framebuffer &&Framebuffer)
 
 ~Framebuffer ()
 
 operator VkFramebuffer () const
 
const ExtentgetExtent () const
 
void destroy ()
 

Private Member Functions

 Framebuffer (VkFramebuffer Framebuffer, const Device *device, const Extent &extent)
 

Private Attributes

VkFramebuffer _framebuffer {VK_NULL_HANDLE}
 
const Device_device {nullptr}
 
Extent _extent
 

Friends

class Builder::Framebuffer
 

Detailed Description

Definition at line 17 of file Framebuffer.hpp.

Constructor & Destructor Documentation

◆ Framebuffer() [1/4]

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

◆ Framebuffer() [2/4]

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

◆ Framebuffer() [3/4]

lug::Graphics::Vulkan::API::Framebuffer::Framebuffer ( Framebuffer &&  Framebuffer)

Definition at line 12 of file Framebuffer.cpp.

◆ ~Framebuffer()

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

Definition at line 34 of file Framebuffer.cpp.

◆ Framebuffer() [4/4]

lug::Graphics::Vulkan::API::Framebuffer::Framebuffer ( VkFramebuffer  Framebuffer,
const Device device,
const Extent extent 
)
explicitprivate

Definition at line 10 of file Framebuffer.cpp.

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

Framebuffer & lug::Graphics::Vulkan::API::Framebuffer::operator= ( Framebuffer &&  Framebuffer)

Definition at line 21 of file Framebuffer.cpp.

◆ operator VkFramebuffer()

lug::Graphics::Vulkan::API::Framebuffer::operator VkFramebuffer ( ) const
inlineexplicit

Definition at line 38 of file Framebuffer.hpp.

◆ getExtent()

const Extent& lug::Graphics::Vulkan::API::Framebuffer::getExtent ( ) const
inline

Definition at line 42 of file Framebuffer.hpp.

◆ destroy()

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

Definition at line 38 of file Framebuffer.cpp.

Friends And Related Function Documentation

◆ Builder::Framebuffer

friend class Builder::Framebuffer
friend

Definition at line 18 of file Framebuffer.hpp.

Member Data Documentation

◆ _framebuffer

VkFramebuffer lug::Graphics::Vulkan::API::Framebuffer::_framebuffer {VK_NULL_HANDLE}
private

Definition at line 52 of file Framebuffer.hpp.

◆ _device

const Device* lug::Graphics::Vulkan::API::Framebuffer::_device {nullptr}
private

Definition at line 53 of file Framebuffer.hpp.

◆ _extent

Extent lug::Graphics::Vulkan::API::Framebuffer::_extent
private

Definition at line 55 of file Framebuffer.hpp.


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