Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ getDevice()

static SDL_GPUDevice * Flint::GPUWindowCast::getDevice ( Flint::IWindow * window)
inlinestatic

Return the SDL_GPUDevice from window.

Parameters
windowSource window.
Returns
The GPU device, or nullptr if unavailable.

Definition at line 50 of file gpu-cast.h.