---
name: "SDL_CloseCamera"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_CloseCamera"
---

# SDL\_CloseCamera(3)

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

## NAME

SDL\_CloseCamera - 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)](/SDL_OpenCamera/3.md)
