DOKK / manpages / debian 13 / libsdl3-doc / SDL_CloseCamera.3.en
SDL_CloseCamera(3) SDL3 FUNCTIONS SDL_CloseCamera(3)

SDL_CloseCamera - Use this function to shut down camera processing and close the camera device.

Defined in SDL3/SDL_camera.h

#include "SDL3/SDL.h"
void SDL_CloseCamera(SDL_Camera *camera);

opened camera device.

It is safe to call this function from any thread, but no thread may reference device once this function is called.

This function is available since SDL 3.2.0.

(3), SDL_OpenCamera(3)

SDL 3.2.10 Simple Directmedia Layer