logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_ColorRange - Colorspace color range, as described by https://www.itu.int/rec/R-REC-

Availability

       This enum is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                              SDL_ColorRange(3type)

Header File

       Defined in SDL3/SDL_pixels.h

Name

       SDL_ColorRange    -    Colorspace   color   range,   as   described   by   https://www.itu.int/rec/R-REC-
       BT.2100-2-201807-I/en

Synopsis

#include"SDL3/SDL.h"typedefenumSDL_ColorRange{SDL_COLOR_RANGE_UNKNOWN=0,SDL_COLOR_RANGE_LIMITED=1,/**<Narrowrange,e.g.16-235for8-bitRGBandluma,and16-240for8-bitchroma*/SDL_COLOR_RANGE_FULL=2/**<Fullrange,e.g.0-255for8-bitRGBandluma,and1-255for8-bitchroma*/}SDL_ColorRange;

See Also