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¶
| Name | Thrown on |
|---|---|
InvalidArgumentException | Thrown, if no image has been added for the provided id. |
Return Value¶
A reference of the image.
Parameters¶
| Name | Description |
|---|---|
| id | The identifier associated with the image. |