Lugdunum
0.1.0
|
#include <Light.hpp>
Public Member Functions | |
Light (Renderer &renderer) | |
Light (const Light &)=delete | |
Light (Light &&)=delete | |
Light & | operator= (const Light &)=delete |
Light & | operator= (Light &&)=delete |
~Light ()=default | |
const DescriptorSet * | allocate (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 | |
DescriptorSetPool & | operator= (const DescriptorSetPool &)=delete |
DescriptorSetPool & | operator= (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 |
lug::Graphics::Vulkan::Render::DescriptorSetPool::Light::Light | ( | Renderer & | renderer | ) |
|
delete |
|
delete |
|
default |
const DescriptorSet * lug::Graphics::Vulkan::Render::DescriptorSetPool::Light::allocate | ( | const BufferPool::SubBuffer & | subBuffer | ) |