Function sdl2_sys::SDL_GetWindowICCProfile
source ยท pub unsafe extern "C" fn SDL_GetWindowICCProfile(
window: *mut SDL_Window,
size: *mut usize,
) -> *mut c_void
Expand description
Get the raw ICC profile data for the screen the window is currently on.
Data returned should be freed with SDL_free.
\param window the window to query \param size the size of the ICC profile \returns the raw ICC profile data on success or NULL on failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.18.