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

SDL_CameraDeviceEvent - Camera device event structure (event.cdevice.*)

Availability

       This struct is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                       SDL_CameraDeviceEvent(3type)

Name

       SDL_CameraDeviceEvent - Camera device event structure (event.cdevice.*)

Synopsis

#include<SDL3/SDL_events.h>typedefstructSDL_CameraDeviceEvent{SDL_EventTypetype;/**<SDL_EVENT_CAMERA_DEVICE_ADDED,SDL_EVENT_CAMERA_DEVICE_REMOVED,SDL_EVENT_CAMERA_DEVICE_APPROVED,SDL_EVENT_CAMERA_DEVICE_DENIED*/Uint32reserved;Uint64timestamp;/**<Innanoseconds,populatedusingSDL_GetTicksNS()*/SDL_CameraIDwhich;/**<SDL_CameraIDforthedevicebeingaddedorremovedorchanging*/}SDL_CameraDeviceEvent;

See Also