Function SDL_COLORSPACERANGE
pub const fn SDL_COLORSPACERANGE(cspace: SDL_Colorspace) -> SDL_ColorRange
Available on crate feature
dep_sdl3
only.Expand description
A macro to retrieve the range of an SDL_Colorspace
.
§Parameters
cspace
: anSDL_Colorspace
to check.
§Return value
Returns the SDL_ColorRange
of cspace
.
§Thread safety
It is safe to call this macro from any thread.
§Availability
This macro is available since SDL 3.2.0.