A macro to determine if an SDL_Colorspace has a limited range.
Defined in <SDL3/SDL_pixels.h>
#define SDL_ISCOLORSPACE_LIMITED_RANGE(cspace) (SDL_COLORSPACERANGE(cspace) != SDL_COLOR_RANGE_FULL)
cspace | an SDL_Colorspace to check. |
Returns true if limited range, false otherwise.
It is safe to call this macro from any thread.
This macro is available since SDL 3.1.3.