Function sdl2_sys::SDL_HasColorKey
source ยท pub unsafe extern "C" fn SDL_HasColorKey(
surface: *mut SDL_Surface,
) -> SDL_bool
Expand description
Returns whether the surface has a color key
It is safe to pass a NULL surface
here; it will return SDL_FALSE.
\param surface the SDL_Surface structure to query \return SDL_TRUE if the surface has a color key, SDL_FALSE otherwise.
\since This function is available since SDL 2.0.9.
\sa SDL_SetColorKey \sa SDL_GetColorKey