Lugdunum
0.1.0
|
#include <Material.hpp>
Public Member Functions | |
Material (Renderer &renderer) | |
Material (const Material &)=delete | |
Material (Material &&)=delete | |
Material & | operator= (const Material &)=delete |
Material & | operator= (Material &&)=delete |
~Material ()=default | |
const SubBuffer * | allocate (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 | |
BufferPool & | operator= (const BufferPool &)=delete |
BufferPool & | operator= (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 |
Definition at line 17 of file Material.hpp.
lug::Graphics::Vulkan::Render::BufferPool::Material::Material | ( | Renderer & | renderer | ) |
Definition at line 12 of file Material.cpp.
|
delete |
|
delete |
|
default |
|
delete |
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.