SDL_GetCameraName - Man Page

Get the human-readable device name for a camera.

Synopsis

#include <SDL3/SDL_camera.h>

const char * SDL_GetCameraName(SDL_CameraID instance_id);

Function Parameters

instance_id

the camera device instance ID.

Return Value

for more information.

Thread Safety

It is safe to call this function from any thread.

Availability

This function is available since SDL 3.2.0.

See Also

SDL_GetCameras(3)

Info

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS