Get the instance ID of an opened camera.
Defined in <SDL3/SDL_camera.h>
camera | an SDL_Camera to query |
Returns the instance ID of the specified camera on success or 0 on failure; call SDL_GetError() for more information.
It is safe to call this function from any thread.
This function is available since SDL 3.0.0.