logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_GetCameraProperties - Get the properties associated with an opened camera.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                         SDL_GetCameraProperties(3)

Function Parameters

camera the SDL_Camera obtained from SDL_OpenCamera().

Name

       SDL_GetCameraProperties - Get the properties associated with an opened camera.

Return Value

       Returns a valid property ID on success or 0 on failure; call SDL_GetError() for more information.

Synopsis

#include<SDL3/SDL_camera.h>SDL_PropertiesIDSDL_GetCameraProperties(SDL_Camera*camera);

Thread Safety

       It is safe to call this function from any thread.

See Also