Skip to content

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

Initializes a new Vulkan descriptor layout for an input attachment.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

[[dllimport, dllexport]] VulkanDescriptorLayout(
    UInt32 binding,
    UInt32 inputAttachmentIndex);

Parameters

NameDescription
bindingThe binding point for the descriptor.
inputAttachmentIndexIf type equals DescriptorType::InputAttachment this value specifies the index of the input attachment. Otherwise, the value is ignored.