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 β€” an SDL_Camera to 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