|
Nameless Engine
|
#include <DescriptorSetLayoutGenerator.h>
Public Attributes | |
| VkDescriptorSetLayout | pDescriptorSetLayout = nullptr |
| VkDescriptorPool | pDescriptorPool = nullptr |
| std::array< VkDescriptorSet, FrameResourceManager::getFrameResourceCount()> | vDescriptorSets |
| std::unordered_map< std::string, uint32_t, StdStringHash, std::equal_to<> > | resourceBindings |
| std::unordered_map< std::string, size_t > | pushConstantUintFieldOffsets |
Groups generated data.
| VkDescriptorPool ne::DescriptorSetLayoutGenerator::Generated::pDescriptorPool = nullptr |
Created descriptor pool.
| VkDescriptorSetLayout ne::DescriptorSetLayoutGenerator::Generated::pDescriptorSetLayout = nullptr |
Created descriptor set layout.
| std::unordered_map<std::string, size_t> ne::DescriptorSetLayoutGenerator::Generated::pushConstantUintFieldOffsets |
Stores pairs of "name of field defined in GLSL push constants" (all with uint type) and "offset from the beginning of the push constants struct (in `uint`s not bytes)".
uint fields is found an error is returned instead. | std::unordered_map<std::string, uint32_t, StdStringHash, std::equal_to<> > ne::DescriptorSetLayoutGenerator::Generated::resourceBindings |
Map of pairs "resource name" (from GLSL code) - "layout binding index".
| std::array<VkDescriptorSet, FrameResourceManager::getFrameResourceCount()> ne::DescriptorSetLayoutGenerator::Generated::vDescriptorSets |
Created descriptor set per each frame resource.