LiteFX::Rendering::IRenderBackend::operator[]¶
Looks up a device and returns a pointer to it, or nullptr, if no device with the provided name could be found.
Synopses¶
Declared in <litefx/rendering_api.hpp>
Looks up a device and returns a pointer to it, or nullptr, if no device with the provided name could be found.
[[dllimport, dllexport]] virtual IGraphicsDevice const* operator[](String const& name) const noexcept;
Looks up a device and returns a pointer to it, or nullptr, if no device with the provided name could be found.
[[dllimport, dllexport]] virtual IGraphicsDevice* operator[](String const& name) noexcept;
Return Value¶
A pointer to the device or nullptr, if no device could be found.
Parameters¶
| Name | Description |
|---|---|
| name | The name of the device. |