Skip to content

LiteFX::Rendering::Backends::VulkanDescriptorLayout::inputAttachmentIndex

The index of the input attachment mapped to this descriptor.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

[[dllimport, dllexport]] UInt32 inputAttachmentIndex() const noexcept;

Description

If descriptorType returns DescriptorType::InputAttachment this value refers to the index of the input attachment within a set of input attachments of a VulkanRenderPass. Otherwise, the value is ignored.

Return Value

The index of the input attachment mapped to this descriptor.