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

Describes a single input resource for a render pass, including type, binding indices, and resource handles. More...

#include <DescriptorSetManager.h>

Public Attributes

InputType Type
 Type of the input (uniform buffer, image, etc).
u32 SetIndex = 0
 Descriptor set index to bind this input to.
u32 Binding = 0
 Binding slot within the descriptor set.
std::string Name
 Name identifier matching the shader binding.
std::variant< std::monostate, Ref< UniformBuffer >, Ref< Texture2D > > Resource
 Strongly typed resource storage.

Detailed Description

Describes a single input resource for a render pass, including type, binding indices, and resource handles.

Member Data Documentation

◆ Binding

u32 Raven::RenderPassInput::Binding = 0

Binding slot within the descriptor set.

◆ Name

std::string Raven::RenderPassInput::Name

Name identifier matching the shader binding.

◆ Resource

std::variant<std::monostate, Ref<UniformBuffer>, Ref<Texture2D> > Raven::RenderPassInput::Resource

Strongly typed resource storage.

◆ SetIndex

u32 Raven::RenderPassInput::SetIndex = 0

Descriptor set index to bind this input to.

◆ Type

InputType Raven::RenderPassInput::Type

Type of the input (uniform buffer, image, etc).


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