Skip to content

LiteFX::Rendering::Backends::VulkanPipelineLayoutBuilder::withDirectHeapAccess

Enables direct access to the global descriptor heaps from shaders using this pipeline layout.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TSelf>
[[nodiscard]] constexpr TSelf&& withDirectHeapAccess(this 
    TSelf&& self,
    bool resources = true,
    bool samplers = true);

Return Value

Note

The return value should not be discarded.

Parameters

NameDescription
resourcesIf set to true, the pipeline uses direct heap access to the global resource descriptor heap.
samplersIf set to true, the pipeline uses direct heap access to the global sampler descriptor heap.