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

#include <Light.hpp>

Inheritance diagram for lug::Graphics::Vulkan::Render::BufferPool::Light:
[legend]
Collaboration diagram for lug::Graphics::Vulkan::Render::BufferPool::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 SubBufferallocate (uint32_t currentFrame, const API::CommandBuffer &cmdBuffer, const std::vector<::lug::Graphics::Scene::Node *> nodes)
 
- Public Member Functions inherited from lug::Graphics::Vulkan::Render::BufferPool::BufferPool< 10, ::lug::Graphics::Render::Light::strideShader *50+sizeof(uint32_t)>
 BufferPool (Renderer &renderer, std::set< uint32_t > queueFamilyIndices)
 
 BufferPool (const BufferPool &)=delete
 
 BufferPool (BufferPool &&)=delete
 
BufferPooloperator= (const BufferPool &)=delete
 
BufferPooloperator= (BufferPool &&)=delete
 
 ~BufferPool ()=default
 
std::tuple< bool, const SubBuffer *> allocate (size_t hash, bool dirty)
 
void free (const SubBuffer *buffer)
 

Additional Inherited Members

- Protected Attributes inherited from lug::Graphics::Vulkan::Render::BufferPool::BufferPool< 10, ::lug::Graphics::Render::Light::strideShader *50+sizeof(uint32_t)>
Renderer_renderer
 
std::set< uint32_t > _queueFamilyIndices
 
std::list< Chunk< subBufferPerChunk, subBufferSize > > _chunks
 
std::map< size_t, SubBuffer *> _subBuffersInUse
 

Detailed Description

Definition at line 22 of file Light.hpp.

Constructor & Destructor Documentation

◆ Light() [1/3]

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

Definition at line 13 of file Light.cpp.

◆ Light() [2/3]

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

◆ Light() [3/3]

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

◆ ~Light()

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ allocate()

const SubBuffer * lug::Graphics::Vulkan::Render::BufferPool::Light::allocate ( uint32_t  currentFrame,
const API::CommandBuffer cmdBuffer,
const std::vector<::lug::Graphics::Scene::Node *>  nodes 
)

Definition at line 18 of file Light.cpp.


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