Skip to content

LiteFX::Rendering::IRenderBackend

The interface to access a render backend.

Synopsis

Declared in <litefx/rendering_api.hpp>

class [[dllimport, dllexport]] IRenderBackend
    : public IBackend

Base Classes

NameDescription
IBackendThe base class for an app backend.

Member Functions

NameDescription
~IRenderBackend [destructor] [virtual]Destructor
device Looks up a device and returns a pointer to it, or nullptr, if no device with the provided name could be found.
findAdapter findAdapter overloads
listAdapters Lists all available graphics adapters.
name [virtual]Gets the name of the backend.
operator[] Looks up a device and returns a pointer to it, or nullptr, if no device with the provided name could be found.
state Returns the state of the backend.
type [virtual]Gets the type of the backend.

Protected Member Functions

NameDescription
IRenderBackend [constructor]Constructors
operator= Assignment operators
activate [virtual]Called by the parent App, if the backend is started.
deactivate [virtual]Called by the parent App, if the backend is stopped.
state Returns the state of the backend.

Derived Classes

NameDescription
RenderBackend Defines a back-end, that provides a device instance for a certain surface and graphics adapter.