SDL_ColorType.3type - Man Page

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.

Info

SDL 3.2.2 Simple Directmedia Layer SDL3 DATATYPES