---
name: "SDL_GetCameraProperties"
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_GetCameraProperties"
---

# SDL\_GetCameraProperties(3)

Get the properties associated with an opened camera.

## NAME

SDL\_GetCameraProperties - Get the properties associated with an opened camera.

## HEADER FILE

Defined in SDL3/SDL\_camera.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**SDL\_PropertiesID SDL\_GetCameraProperties(SDL\_Camera \*camera);**

## FUNCTION PARAMETERS

- *camera*

  the  **SDL\_Camera**\
    obtained from  **SDL\_OpenCamera** ().

## RETURN VALUE

( **SDL\_PropertiesID** ) Returns a valid property ID on success or 0 on failure; call  **SDL\_GetError** () for more information.

## THREAD SAFETY

It is safe to call this function from any thread.

## AVAILABILITY

This function is available since SDL 3.2.0.
