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