|
SleakEngine 1.0.0
C++23 multi-backend game engine
|
Constructs the concrete Renderer for a requested backend. More...
#include <RendererFactory.hpp>
Static Public Member Functions | |
| static Renderer * | CreateRenderer (RendererType type, Window *window) |
| Instantiates and returns the Renderer for the given backend, bound to a window. | |
| static RendererType | GetRendererType () |
| static Renderer * | ParseArg (std::string arg, Window *window) |
| Resolves a CLI backend name (e.g. "-vulkan") to a Renderer instance. | |
Constructs the concrete Renderer for a requested backend.
Definition at line 18 of file RendererFactory.hpp.
|
static |
Instantiates and returns the Renderer for the given backend, bound to a window.
Definition at line 14 of file RendererFactory.cpp.
|
inlinestatic |
Definition at line 24 of file RendererFactory.hpp.
|
static |
Resolves a CLI backend name (e.g. "-vulkan") to a Renderer instance.
Definition at line 48 of file RendererFactory.cpp.