Skip to content

LiteFX::Rendering::DeviceState::image

Returns an image from the device state.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] IImage& image(String const& id) const;

Exceptions

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

Return Value

A reference of the image.

Parameters

NameDescription
idThe identifier associated with the image.