Function SDL_COLORSPACEMATRIX

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

A macro to retrieve the matrix coefficients of an SDL_Colorspace.

§Parameters

§Return value

Returns the SDL_MatrixCoefficients of cspace.

§Thread safety

It is safe to call this macro from any thread.

§Availability

This macro is available since SDL 3.2.0.