Function SDL_COLORSPACEPRIMARIES

pub const fn SDL_COLORSPACEPRIMARIES(
    cspace: SDL_Colorspace,
) -> SDL_ColorPrimaries
Available on crate feature dep_sdl3 only.
Expand description

A macro to retrieve the primaries of an SDL_Colorspace.

§Parameters

§Return value

Returns the SDL_ColorPrimaries of cspace.

§Thread safety

It is safe to call this macro from any thread.

§Availability

This macro is available since SDL 3.2.0.