Scroll to navigation

SDL_ColorType(3type) SDL3 DATATYPES SDL_ColorType(3type)

NAME

SDL_ColorType - The 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.0.0.

SDL 3.1.2 Simple Directmedia Layer