This function sets up a filter to process all events before they change internal state and are posted to the internal event queue.
If the filter returns 1, then the event will be added to the internal queue. If it returns 0, then the event will be dropped from the queue. This allows selective filtering of dynamically.
Binds to C callback in SDL_events.h:
typedef Uint32 (SDLCALL *SDL_EventFilter)(const SDL_Event *event)
Namespace: Tao.Sdl
Assembly: Tao.Sdl (in Tao.Sdl.dll)
Tao.Sdl Namespace | SDL_SetEventFilter | SDL_GetEventFilter