SDL_GetWindowICCProfile

Get the raw ICC profile data for the screen the window is currently on.

extern (C) nothrow @nogc extern
void*
SDL_GetWindowICCProfile

Parameters

window SDL_Window*

the window to query.

size size_t*

the size of the ICC profile.

Return Value

Type: void*

the raw ICC profile data on success or NULL on failure; call SDL_GetError() for more information. This should be freed with SDL_free() when it is no longer needed.

Threadsafety: This function should only be called on the main thread.

Meta