Skip to main content

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.

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.

Available Since: This function is available since SDL 3.2.0.