Raven Engine v0.1
Loading...
Searching...
No Matches
Raven::ShaderResource::ShaderDescriptor Struct Reference

Represents an individual shader descriptor binding. More...

#include <VulkanShaderResources.h>

Public Attributes

u32 Binding
 Descriptor binding slot.
u32 DescriptorCount = 1
 Number of descriptors (array length).
ShaderResource::ResourceType Type
 Type of the resource.
u32 Count = 1
 Runtime count, for bindless or array overrides.
VkShaderStageFlags ShaderStage = 0
 Shader stages using this descriptor.
std::string Name
 Human-readable name of the descriptor.

Detailed Description

Represents an individual shader descriptor binding.

Member Data Documentation

◆ Binding

u32 Raven::ShaderResource::ShaderDescriptor::Binding

Descriptor binding slot.

◆ Count

u32 Raven::ShaderResource::ShaderDescriptor::Count = 1

Runtime count, for bindless or array overrides.

◆ DescriptorCount

u32 Raven::ShaderResource::ShaderDescriptor::DescriptorCount = 1

Number of descriptors (array length).

◆ Name

std::string Raven::ShaderResource::ShaderDescriptor::Name

Human-readable name of the descriptor.

◆ ShaderStage

VkShaderStageFlags Raven::ShaderResource::ShaderDescriptor::ShaderStage = 0

Shader stages using this descriptor.

◆ Type

ShaderResource::ResourceType Raven::ShaderResource::ShaderDescriptor::Type

Type of the resource.


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