Skip to content

LiteFX::Rendering::DeviceState::frameBuffer

Returns a frame buffer from the device state.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] IFrameBuffer& frameBuffer(String const& id) const;

Exceptions

NameThrown on
InvalidArgumentExceptionThrown, if no frame buffer has been added for the provided id.

Return Value

A reference of the frame buffer.

Parameters

NameDescription
idThe identifier associated with the frame buffer.