SDL_GetCurrentCameraDriver

Function SDL_GetCurrentCameraDriver 

Source
pub unsafe extern "C" fn SDL_GetCurrentCameraDriver() -> *const c_char
Expand description

Get the name of the current camera driver.

The names of drivers are all simple, low-ASCII identifiers, like “v4l2”, “coremedia” or “android”. These never have Unicode characters, and are not meant to be proper names.

§Return value

Returns the name of the current camera driver or NULL if no driver has been initialized.

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.