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

#include <ImageView.hpp>

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

Public Member Functions

 ImageView ()=default
 
 ImageView (const ImageView &)=delete
 
 ImageView (ImageView &&ImageView)
 
ImageView & operator= (const ImageView &)=delete
 
ImageView & operator= (ImageView &&ImageView)
 
 ~ImageView ()
 
 operator VkImageView () const
 
const Device * getDevice () const
 Gets the device associated with this ImageView. More...
 
const Image * getImage () const
 Gets the image associated with this ImageView. More...
 
void destroy ()
 

Private Member Functions

 ImageView (VkImageView ImageView, const Device *device, const Image *extent)
 

Private Attributes

VkImageView _imageView {VK_NULL_HANDLE}
 
const Device * _device {nullptr}
 
const Image * _image {nullptr}
 

Friends

class Builder::ImageView
 

Detailed Description

Definition at line 18 of file ImageView.hpp.

Constructor & Destructor Documentation

◆ ImageView() [1/4]

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

◆ ImageView() [2/4]

lug::Graphics::Vulkan::API::ImageView::ImageView ( const ImageView &  )
delete

◆ ImageView() [3/4]

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

Definition at line 12 of file ImageView.cpp.

◆ ~ImageView()

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

Definition at line 34 of file ImageView.cpp.

◆ ImageView() [4/4]

lug::Graphics::Vulkan::API::ImageView::ImageView ( VkImageView  ImageView,
const Device *  device,
const Image *  extent 
)
explicitprivate

Definition at line 10 of file ImageView.cpp.

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Definition at line 21 of file ImageView.cpp.

◆ operator VkImageView()

lug::Graphics::Vulkan::API::ImageView::operator VkImageView ( ) const
inlineexplicit

Definition at line 32 of file ImageView.hpp.

◆ getDevice()

const Device * ImageView::getDevice ( ) const
inline

Gets the device associated with this ImageView.

Returns
The device.

Definition at line 1 of file ImageView.inl.

◆ getImage()

const Image * ImageView::getImage ( ) const
inline

Gets the image associated with this ImageView.

Returns
The image.

Definition at line 5 of file ImageView.inl.

◆ destroy()

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

Definition at line 38 of file ImageView.cpp.

Friends And Related Function Documentation

◆ Builder::ImageView

friend class Builder::ImageView
friend

Definition at line 19 of file ImageView.hpp.

Member Data Documentation

◆ _imageView

VkImageView lug::Graphics::Vulkan::API::ImageView::_imageView {VK_NULL_HANDLE}
private

Definition at line 56 of file ImageView.hpp.

◆ _device

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

Definition at line 57 of file ImageView.hpp.

◆ _image

const Image* lug::Graphics::Vulkan::API::ImageView::_image {nullptr}
private

Definition at line 59 of file ImageView.hpp.


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