SDL_CloseCamera - Man Page
Use this function to shut down camera processing and close the camera device.
Header File
Defined in SDL3/SDL_camera.h
Synopsis
#include "SDL3/SDL.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
·(3), SDL_OpenCamera(3)
Referenced By
SDL_GetCameraPermissionState(3).
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS