SDL_CloseCamera - Man Page
Use this function to shut down camera processing and close the camera device.
Synopsis
#include <SDL3/SDL_camera.h> void SDL_CloseCamera(SDL_Camera *camera);
Function Parameters
- camera
opened camera device.
Thread Safety
It is safe to call this function from any thread, but no thread may reference device once this function is called.
Availability
This function is available since SDL 3.2.0.
See Also
Referenced By
SDL_GetCameraPermissionState(3).
SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS