Factory for creating window backends. More...
#include <iwindow.h>
Static Public Member Functions | |
| static std::unique_ptr< IWindowBackend > | Create (WindowBackendType type) |
| Create a window backend of the specified type. | |
| static WindowBackendType | GetDefaultType () |
| Get the default backend type for this build. | |
| static bool | IsAvailable (WindowBackendType type) |
| Check if a backend type is available. | |
|
static |
Create a window backend of the specified type.
| type | The type of backend to create |
Definition at line 15 of file window_backend_factory.cc.
References yaze::platform::Auto, Create(), GetDefaultType(), LOG_WARN, yaze::platform::SDL2, and yaze::platform::SDL3.
Referenced by Create(), main(), and yaze::Controller::OnEntry().

|
static |
Get the default backend type for this build.
Definition at line 42 of file window_backend_factory.cc.
References yaze::platform::SDL2, and yaze::platform::SDL3.
Referenced by Create(), main(), and yaze::Controller::OnEntry().
|
static |
Check if a backend type is available.
Definition at line 50 of file window_backend_factory.cc.
References yaze::platform::Auto, yaze::platform::SDL2, and yaze::platform::SDL3.