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

◆ toNative()

template<typename T >
auto Flint::Rect< T >::toNative ( ) const
inline

Convert to the corresponding SDL rectangle type.

Returns SDL_Rect for int instantiations and SDL_FRect for float.

Definition at line 156 of file types.h.