SDL_GetCameraID

Get the instance ID of an opened camera.

extern (C) nothrow @nogc extern
SDL_GetCameraID

Parameters

camera SDL_Camera*

an SDL_Camera to query.

Return Value

the instance ID of the specified camera on success or 0 on failure; call SDL_GetError() for more information.

Threadsafety: It is safe to call this function from any thread.

See Also

Meta