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

SDL_CameraID - This is a unique ID for a camera device for the time it is connected to the system, and is

Availability

       This datatype is available since SDL 3.2.0.

Description

       If the device is disconnected and reconnected, it will get a new ID.

       The value 0 is an invalid ID.

Header File

       Defined in SDL3/SDL_camera.h

Name

       SDL_CameraID - This is a unique ID for a camera device for the time it is connected to the system, and is
       never reused for the lifetime of the application.

See Also

(3), SDL_GetCameras(3)

Simple Directmedia Layer                           SDL 3.2.10                                SDL_CameraID(3type)

Synopsis

#include"SDL3/SDL.h"typedefUint32SDL_CameraID;

See Also