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

#include <Material.hpp>

Inheritance diagram for lug::Graphics::Vulkan::Render::DescriptorSetPool::Material:
[legend]
Collaboration diagram for lug::Graphics::Vulkan::Render::DescriptorSetPool::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 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 Material.hpp.

Constructor & Destructor Documentation

◆ Material() [1/3]

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

Definition at line 12 of file Material.cpp.

◆ Material() [2/3]

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

◆ Material() [3/3]

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

◆ ~Material()

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ allocate()

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

Definition at line 14 of file Material.cpp.


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