Scroll to navigation

SDL_CloseCamera(3) SDL3 FUNCTIONS SDL_CloseCamera(3)

NAME

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

SYNOPSIS

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

FUNCTION PARAMETERS

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.0.0.

SEE ALSO

SDL_OpenCameraWithSpec(3), SDL_OpenCamera(3)

SDL 3.1.0 SDL