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

#include <MaterialTextures.hpp>

Inheritance diagram for lug::Graphics::Vulkan::Render::DescriptorSetPool::MaterialTextures:
[legend]
Collaboration diagram for lug::Graphics::Vulkan::Render::DescriptorSetPool::MaterialTextures:
[legend]

Public Member Functions

 MaterialTextures (Renderer &renderer)
 
 MaterialTextures (const MaterialTextures &)=delete
 
 MaterialTextures (MaterialTextures &&)=delete
 
MaterialTexturesoperator= (const MaterialTextures &)=delete
 
MaterialTexturesoperator= (MaterialTextures &&)=delete
 
 ~MaterialTextures ()=default
 
const DescriptorSetallocate (const API::GraphicsPipeline &pipeline, const std::vector< const ::lug::Graphics::Vulkan::Render::Texture *> &textures)
 
- 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 13 of file MaterialTextures.hpp.

Constructor & Destructor Documentation

◆ MaterialTextures() [1/3]

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

Definition at line 11 of file MaterialTextures.cpp.

◆ MaterialTextures() [2/3]

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

◆ MaterialTextures() [3/3]

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

◆ ~MaterialTextures()

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ allocate()

const DescriptorSet * lug::Graphics::Vulkan::Render::DescriptorSetPool::MaterialTextures::allocate ( const API::GraphicsPipeline pipeline,
const std::vector< const ::lug::Graphics::Vulkan::Render::Texture *> &  textures 
)

Definition at line 13 of file MaterialTextures.cpp.


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