SDL_SurfaceHasColorKey

Returns whether the surface has a color key.

It is safe to pass a NULL surface here; it will return false.

extern (C) nothrow @nogc extern
bool
SDL_SurfaceHasColorKey

Parameters

surface SDL_Surface*

the SDL_Surface structure to query.

Return Value

Type: bool

true if the surface has a color key, false otherwise.

See Also

Meta