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

#include <Material.hpp>

Inheritance diagram for lug::Graphics::Vulkan::Render::BufferPool::Material:
[legend]
Collaboration diagram for lug::Graphics::Vulkan::Render::BufferPool::Material:
[legend]

Public Member Functions

 Material (Renderer &renderer)
 
 Material (const Material &)=delete
 
 Material (Material &&)=delete
 
Materialoperator= (const Material &)=delete
 
Materialoperator= (Material &&)=delete
 
 ~Material ()=default
 
const SubBufferallocate (const API::CommandBuffer &cmdBuffer, ::lug::Graphics::Render::Material &material)
 
- Public Member Functions inherited from lug::Graphics::Vulkan::Render::BufferPool::BufferPool< 20, sizeof(::lug::Graphics::Render::Material::Constants) *2 >
 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< 20, sizeof(::lug::Graphics::Render::Material::Constants) *2 >
Renderer_renderer
 
std::set< uint32_t > _queueFamilyIndices
 
std::list< Chunk< subBufferPerChunk, subBufferSize > > _chunks
 
std::map< size_t, SubBuffer *> _subBuffersInUse
 

Detailed Description

Definition at line 17 of file Material.hpp.

Constructor & Destructor Documentation

◆ Material() [1/3]

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

Definition at line 12 of file Material.cpp.

◆ Material() [2/3]

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

◆ Material() [3/3]

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

◆ ~Material()

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ allocate()

const SubBuffer * lug::Graphics::Vulkan::Render::BufferPool::Material::allocate ( const API::CommandBuffer cmdBuffer,
::lug::Graphics::Render::Material material 
)

Definition at line 17 of file Material.cpp.


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