Skip to content

LiteFX::Rendering::RenderBackend::operator[]

Looks up a device and returns a pointer to it, or nullptr, if no device with the provided name could be found.

Synopsis

Declared in <litefx/rendering.hpp>

virtual device_type const* operator[](String const& name) const noexcept override;

Return Value

A pointer to the device or nullptr, if no device could be found.

Parameters

NameDescription
nameThe name of the device.