Scroll to navigation

SDL_GetYUVConversionModeForResolution(3) SDL3 FUNCTIONS SDL_GetYUVConversionModeForResolution(3)

NAME

SDL_GetYUVConversionModeForResolution - Get the YUV conversion mode, returning the correct mode for the resolution when the current conversion mode is SDL_YUV_CONVERSION_AUTOMATIC

SYNOPSIS

#include "SDL3/SDL.h"
SDL_YUV_CONVERSION_MODE SDL_GetYUVConversionModeForResolution(int width, int height);

FUNCTION PARAMETERS

width
height

RETURN VALUE

Returns YUV conversion mode

AVAILABILITY

This function is available since SDL 3.0.0.

SDL 3.0.0 SDL