pub unsafe extern "C" fn SDL_SurfaceHasColorKey(
surface: *mut SDL_Surface,
) -> boolExpand description
Returns whether the surface has a color key.
It is safe to pass a NULL surface here; it will return false.
§Parameters
surface: theSDL_Surfacestructure to query.
§Return value
Returns true if the surface has a color key, false otherwise.
§Thread safety
It is safe to call this function from any thread.
§Availability
This function is available since SDL 3.2.0.