LiteFX::Rendering::DeviceState::pipeline¶
Returns a pipeline from the device state.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] IPipeline& pipeline(String const& id) const;
Exceptions¶
| Name | Thrown on |
|---|---|
InvalidArgumentException | Thrown, if no pipeline has been added for the provided id. |
Return Value¶
A reference of the pipeline.
Parameters¶
| Name | Description |
|---|---|
| id | The identifier associated with the pipeline. |