sdlGetWindowFlags function
Get the window flags.
\param window the window to query.
\returns a mask of the SDL_WindowFlags associated with window
.
\threadsafety This function should only be called on the main thread.
\since This function is available since SDL 3.1.3.
\sa SDL_CreateWindow \sa SDL_HideWindow \sa SDL_MaximizeWindow \sa SDL_MinimizeWindow \sa SDL_SetWindowFullscreen \sa SDL_SetWindowMouseGrab \sa SDL_ShowWindow
extern SDL_DECLSPEC SDL_WindowFlags SDLCALL SDL_GetWindowFlags(SDL_Window *window)
Implementation
int sdlGetWindowFlags(Pointer<SdlWindow> window) {
final sdlGetWindowFlagsLookupFunction = libSdl3.lookupFunction<
Uint64 Function(Pointer<SdlWindow> window),
int Function(Pointer<SdlWindow> window)>('SDL_GetWindowFlags');
return sdlGetWindowFlagsLookupFunction(window);
}