Nameless Engine
Loading...
Searching...
No Matches
ne::DescriptorSetLayoutGenerator::Collected Struct Reference

#include <DescriptorSetLayoutGenerator.h>

Classes

struct  DescriptorSetLayoutBindingInfo
 

Public Attributes

std::unordered_map< uint32_t, DescriptorSetLayoutBindingInfobindingInfo
 
std::unordered_map< std::string, size_t > pushConstantUintFieldOffsets
 

Detailed Description

Groups collected info.

Member Data Documentation

◆ bindingInfo

std::unordered_map<uint32_t, DescriptorSetLayoutBindingInfo> ne::DescriptorSetLayoutGenerator::Collected::bindingInfo

Map of descriptor set layout binding where key is binding index and value is descriptor info.

◆ pushConstantUintFieldOffsets

std::unordered_map<std::string, size_t> ne::DescriptorSetLayoutGenerator::Collected::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)".

Remarks
May be empty if not used.
If a non uint fields is found an error is returned instead.

The documentation for this struct was generated from the following file: