Scroll to navigation

SDL_IsShapedWindow(3) SDL3 FUNCTIONS SDL_IsShapedWindow(3)

NAME

SDL_IsShapedWindow - Return whether the given window is a shaped window.

SYNOPSIS

#include "SDL3/SDL.h"
SDL_bool SDL_IsShapedWindow(const SDL_Window *window);

FUNCTION PARAMETERS

The window to query for being shaped.

RETURN VALUE

Returns SDL_TRUE
if the window is a window that can be shaped,

SDL_FALSE
if the window is unshaped or NULL.

AVAILABILITY

This function is available since SDL 3.0.0.

SEE ALSO

SDL_CreateShapedWindow(3)

SDL 3.0.0 SDL