LiteFX::Rendering::PipelineLayoutBuilder::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¶
| Name | Description |
|---|---|
| resources | If set to true, the pipeline uses direct heap access to the global resource descriptor heap. |
| samplers | If set to true, the pipeline uses direct heap access to the global sampler descriptor heap. |