Camera device event structure (event.cdevice.*)
Defined in <SDL3/SDL_events.h>
typedef struct SDL_CameraDeviceEvent
{/**< SDL_EVENT_CAMERA_DEVICE_ADDED, SDL_EVENT_CAMERA_DEVICE_REMOVED, SDL_EVENT_CAMERA_DEVICE_APPROVED, SDL_EVENT_CAMERA_DEVICE_DENIED */
SDL_EventType type;
Uint32 reserved;/**< In nanoseconds, populated using SDL_GetTicksNS() */
Uint64 timestamp; /**< SDL_CameraID for the device being added or removed or changing */
SDL_CameraID which; } SDL_CameraDeviceEvent;
This struct is available since SDL 3.1.3.