table of contents
other versions
SDL_OpenVideoCapture(3) | SDL3 FUNCTIONS | SDL_OpenVideoCapture(3) |
NAME¶
SDL_OpenVideoCapture - Open a Video Capture device
SYNOPSIS¶
#include "SDL3/SDL.h"
SDL_VideoCaptureDevice* SDL_OpenVideoCapture(SDL_VideoCaptureDeviceID instance_id);
FUNCTION PARAMETERS¶
- instance_id
- the video capture device instance ID
RETURN VALUE¶
Returns device, or NULL on failure; call SDL_GetError () for more information.
AVAILABILITY¶
This function is available since SDL 3.0.0.
SEE ALSO¶
SDL_GetVideoCaptureDeviceName(3), SDL_GetVideoCaptureDevices(3), SDL_OpenVideoCaptureWithSpec(3)
SDL 3.0.0 | SDL |