Scroll to navigation

SDL_FColor(3type) SDL3 DATATYPES SDL_FColor(3type)

NAME

SDL_FColor - The bits of this structure can be directly reinterpreted as a float-packed color which uses the SDL_PIXELFORMAT_RGBA128_FLOAT
format

HEADER FILE

Defined in SDL3/SDL_pixels.h

SYNOPSIS

#include "SDL3/SDL.h"
typedef struct SDL_FColor
{
    float r;
    float g;
    float b;
    float a;
} SDL_FColor;

AVAILABILITY

This struct is available since SDL 3.0.0.

SDL 3.1.2 Simple Directmedia Layer