[−][src]Function sdl2_sys::SDL_GetWindowGammaRamp
pub unsafe extern "C" fn SDL_GetWindowGammaRamp(
window: *mut SDL_Window,
red: *mut Uint16,
green: *mut Uint16,
blue: *mut Uint16
) -> c_int
\brief Get the gamma ramp for a window.
\param window The window from which the gamma ramp should be queried. \param red A pointer to a 256 element array of 16-bit quantities to hold the translation table for the red channel, or NULL. \param green A pointer to a 256 element array of 16-bit quantities to hold the translation table for the green channel, or NULL. \param blue A pointer to a 256 element array of 16-bit quantities to hold the translation table for the blue channel, or NULL.
\return 0 on success, or -1 if gamma ramps are unsupported.
\sa SDL_SetWindowGammaRamp()