Skip to content

LiteFX::Rendering::DeviceState::renderPass

Returns a render pass from the device state.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] IRenderPass& renderPass(String const& id) const;

Exceptions

NameThrown on
InvalidArgumentExceptionThrown, if no render pass has been added for the provided id.

Return Value

A reference of the render pass.

Parameters

NameDescription
idThe identifier associated with the render pass.