Scroll to navigation

SDL_GetCameraProperties(3) SDL3 FUNCTIONS SDL_GetCameraProperties(3)

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

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.

SDL 3.2.2 Simple Directmedia Layer