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

#include <Sampler.hpp>

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

Public Member Functions

 Sampler ()=default
 
 Sampler (const Sampler &)=delete
 
 Sampler (Sampler &&sampler)
 
Sampleroperator= (const Sampler &)=delete
 
Sampleroperator= (Sampler &&sampler)
 
 ~Sampler ()
 
 operator VkSampler () const
 
void destroy ()
 

Private Member Functions

 Sampler (VkSampler sampler, const Device *device)
 

Private Attributes

VkSampler _sampler {VK_NULL_HANDLE}
 
const Device_device {nullptr}
 

Friends

class Builder::Sampler
 

Detailed Description

Definition at line 17 of file Sampler.hpp.

Constructor & Destructor Documentation

◆ Sampler() [1/4]

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

◆ Sampler() [2/4]

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

◆ Sampler() [3/4]

lug::Graphics::Vulkan::API::Sampler::Sampler ( Sampler &&  sampler)

Definition at line 12 of file Sampler.cpp.

◆ ~Sampler()

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

Definition at line 30 of file Sampler.cpp.

◆ Sampler() [4/4]

lug::Graphics::Vulkan::API::Sampler::Sampler ( VkSampler  sampler,
const Device device 
)
explicitprivate

Definition at line 10 of file Sampler.cpp.

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

Sampler & lug::Graphics::Vulkan::API::Sampler::operator= ( Sampler &&  sampler)

Definition at line 19 of file Sampler.cpp.

◆ operator VkSampler()

lug::Graphics::Vulkan::API::Sampler::operator VkSampler ( ) const
inlineexplicit

Definition at line 31 of file Sampler.hpp.

◆ destroy()

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

Definition at line 34 of file Sampler.cpp.

Friends And Related Function Documentation

◆ Builder::Sampler

friend class Builder::Sampler
friend

Definition at line 18 of file Sampler.hpp.

Member Data Documentation

◆ _sampler

VkSampler lug::Graphics::Vulkan::API::Sampler::_sampler {VK_NULL_HANDLE}
private

Definition at line 41 of file Sampler.hpp.

◆ _device

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

Definition at line 42 of file Sampler.hpp.


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