sdlGetWindowIccProfile function
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.
extern DECLSPEC void* SDLCALL SDL_GetWindowICCProfile(SDL_Window * window, size_t* size)
Implementation
Pointer<NativeType> sdlGetWindowIccProfile(
Pointer<SdlWindow> window, Pointer<Uint32> size) {
final sdlGetWindowIccProfileLookupFunction = libSdl2.lookupFunction<
Pointer<NativeType> Function(
Pointer<SdlWindow> window, Pointer<Uint32> size),
Pointer<NativeType> Function(Pointer<SdlWindow> window,
Pointer<Uint32> size)>('SDL_GetWindowICCProfile');
return sdlGetWindowIccProfileLookupFunction(window, size);
}