table of contents
other versions
- bookworm 1.2.15+dfsg2-8
- experimental 3.1.0+ds-1
SDL_GetEventFilter(3) | SDL3 FUNCTIONS | SDL_GetEventFilter(3) |
NAME¶
SDL_GetEventFilter - Query the current event filter.
SYNOPSIS¶
#include "SDL3/SDL.h"
SDL_bool SDL_GetEventFilter(SDL_EventFilter *filter, void **userdata);
DESCRIPTION¶
This function can be used to "chain" filters, by saving the existing filter before replacing it with a function that will call that saved filter.
FUNCTION PARAMETERS¶
RETURN VALUE¶
Returns SDL_TRUE
on success or SDL_FALSE
if there is no event filter set.
AVAILABILITY¶
This function is available since SDL 3.0.0.
SEE ALSO¶
SDL 3.1.0 | SDL |