SDL_GetCameraID(3)
π NAME π
okay bestie, welcome to the SDL3 FUNCTIONS manual page for SDL_GetCameraID β it gets the instance ID of an opened camera. periodt. β¨
π SYNOPSIS π
#include <SDL3/SDL_camera.h>
SDL_CameraID SDL_GetCameraID(SDL_Camera *camera);
πΈ FUNCTION PARAMETERS πΈ
cameraβ anSDL_Camerato query. she's the one you're asking about, bestie. π
β¨ RETURN VALUE β¨
Returns the instance ID of the specified camera on success, or 0 on failure. if it fails, call SDL_GetError() for more information. no cap. π«Ά
π¦ THREAD SAFETY π¦
It is safe to call this function from any thread. so go off, multithreaded queen. π
π AVAILABILITY π
This function is available since SDL 3.2.0. iconic behavior, fr fr. π
π SEE ALSO π
mwah π β this came from Simple Directmedia Layer, version SDL 3.4.18, page title SDL_GetCameraID(3). date? not in the footer, bestie, so that's the whole tea. π
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms