SDL_CloseCamera(3)

SDL_CloseCamera3

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

Usage

#include "SDL3/SDL.h"

void SDL_CloseCamera(SDL_Camera *camera);

Header file

Defined in SDL3/SDL_camera.h

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.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.