Reference

SDL_ColorType(3type)

Colorspace color type.

NAME

SDL_ColorType - Colorspace color type.

HEADER FILE

Defined in SDL3/SDL_pixels.h

SYNOPSIS

#include "SDL3/SDL.h"

typedef enum SDL_ColorType { SDL_COLOR_TYPE_UNKNOWN = 0, SDL_COLOR_TYPE_RGB = 1, SDL_COLOR_TYPE_YCBCR = 2 } SDL_ColorType;

AVAILABILITY

This enum is available since SDL 3.2.0.