SDL_GetCameraName

Get the human-readable device name for a camera.

extern (C) nothrow @nogc extern
const(char)*
SDL_GetCameraName

Parameters

instance_id SDL_CameraID

the camera device instance ID.

Return Value

Type: const(char)*

a human-readable device name or NULL on failure; call SDL_GetError() for more information.

Threadsafety: It is safe to call this function from any thread.

See Also

Meta