Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_EventEnabled - Query the state of processing events by type.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

type   the type of event; see SDL_EventType
               for details.

Header File

       Defined in SDL3/SDL_events.h

Name

       SDL_EventEnabled - Query the state of processing events by type.

Return Value

       Returns true if the event is being processed, false otherwise.

See Also

•(3), SDL_SetEventEnabled(3)

Simple Directmedia Layer                           SDL 3.2.10                                SDL_EventEnabled(3)

Synopsis

#include"SDL3/SDL.h"boolSDL_EventEnabled(Uint32type);

Thread Safety

       It is safe to call this function from any thread.

See Also