Lugdunum  0.1.0
Public Member Functions | List of all members
lug::Graphics::Vulkan::Render::DescriptorSetPool::Light Class Reference

#include <Light.hpp>

Inheritance diagram for lug::Graphics::Vulkan::Render::DescriptorSetPool::Light:
[legend]
Collaboration diagram for lug::Graphics::Vulkan::Render::DescriptorSetPool::Light:
[legend]

Public Member Functions

 Light (Renderer &renderer)
 
 Light (const Light &)=delete
 
 Light (Light &&)=delete
 
Lightoperator= (const Light &)=delete
 
Lightoperator= (Light &&)=delete
 
 ~Light ()=default
 
const DescriptorSetallocate (const BufferPool::SubBuffer &subBuffer)
 
- Public Member Functions inherited from lug::Graphics::Vulkan::Render::DescriptorSetPool::DescriptorSetPool< 10 >
 DescriptorSetPool (Renderer &renderer)
 
 DescriptorSetPool (const DescriptorSetPool &)=delete
 
 DescriptorSetPool (DescriptorSetPool &&)=delete
 
DescriptorSetPooloperator= (const DescriptorSetPool &)=delete
 
DescriptorSetPooloperator= (DescriptorSetPool &&)=delete
 
 ~DescriptorSetPool ()
 
bool init ()
 
std::tuple< bool, const DescriptorSet *> allocate (size_t hash, const API::DescriptorSetLayout &descriptorSetLayout)
 
void free (const DescriptorSet *descriptorSet)
 

Additional Inherited Members

- Protected Attributes inherited from lug::Graphics::Vulkan::Render::DescriptorSetPool::DescriptorSetPool< 10 >
Renderer_renderer
 
size_t _descriptorSetsCount
 
std::array< DescriptorSet, maxSets > _descriptorSets
 
size_t _freeDescriptorSetsCount
 
std::array< DescriptorSet *, maxSets > _freeDescriptorSets
 
std::map< size_t, DescriptorSet *> _descriptorSetsInUse
 

Detailed Description

Definition at line 12 of file Light.hpp.

Constructor & Destructor Documentation

◆ Light() [1/3]

lug::Graphics::Vulkan::Render::DescriptorSetPool::Light::Light ( Renderer renderer)

Definition at line 12 of file Light.cpp.

◆ Light() [2/3]

lug::Graphics::Vulkan::Render::DescriptorSetPool::Light::Light ( const Light )
delete

◆ Light() [3/3]

lug::Graphics::Vulkan::Render::DescriptorSetPool::Light::Light ( Light &&  )
delete

◆ ~Light()

lug::Graphics::Vulkan::Render::DescriptorSetPool::Light::~Light ( )
default

Member Function Documentation

◆ operator=() [1/2]

Light& lug::Graphics::Vulkan::Render::DescriptorSetPool::Light::operator= ( const Light )
delete

◆ operator=() [2/2]

Light& lug::Graphics::Vulkan::Render::DescriptorSetPool::Light::operator= ( Light &&  )
delete

◆ allocate()

const DescriptorSet * lug::Graphics::Vulkan::Render::DescriptorSetPool::Light::allocate ( const BufferPool::SubBuffer subBuffer)

Definition at line 14 of file Light.cpp.


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