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