Struct RendererAPI::DescriptorData#

Nested Relationships#

This struct is a nested type of Class RendererAPI.

Nested Types#

Struct Documentation#

struct DescriptorData#

Struct holding a data of a descriptor.

Public Members

std::string Name = {}#
std::variant<BufferOffset, DescriptorSetExtraction, TextureSlice, bool> Offset = {false}#
DescriptorResource Resource = {std::vector<const TRAP::Graphics::Texture*>()}#
u32 Count = {}#
u32 Index = std::numeric_limits<u32>::max()#
struct BufferOffset#

Range(s) to bind (buffer, offset, size)

Public Members

std::vector<u64> Offsets = {}#
std::vector<u64> Sizes = {}#
struct DescriptorSetExtraction#

Descriptor set buffer extraction options.

Public Members

u32 DescriptorSetBufferIndex = {}#
Ref<Shader> DescriptorSetShader = {}#
ShaderStage DescriptorSetShaderStage = {}#
struct TextureSlice#

Public Members

u32 UAVMipSlice = {}#
bool BindMipChain = {}#