table of contents
other versions
SDL_GetNumVideoCaptureFormats(3) | SDL3 FUNCTIONS | SDL_GetNumVideoCaptureFormats(3) |
NAME¶
SDL_GetNumVideoCaptureFormats - Number of available formats for the device
SYNOPSIS¶
#include "SDL3/SDL.h"
int SDL_GetNumVideoCaptureFormats(SDL_VideoCaptureDevice *device);
FUNCTION PARAMETERS¶
- device
- opened video capture device
RETURN VALUE¶
Returns number of formats or a negative error code on failure; call
SDL_GetError () for more information.
AVAILABILITY¶
This function is available since SDL 3.0.0.
SEE ALSO¶
SDL_GetVideoCaptureFormat(3), SDL_SetVideoCaptureSpec(3)
SDL 3.0.0 | SDL |