Function SDL_SurfaceHasRLE
pub unsafe extern "C" fn SDL_SurfaceHasRLE(
surface: *mut SDL_Surface,
) -> bool
Available on crate feature
dep_sdl3
only.Expand description
Returns whether the surface is RLE enabled.
It is safe to pass a NULL surface
here; it will return false.
§Parameters
surface
: theSDL_Surface
structure to query.
§Return value
Returns true if the surface is RLE enabled, false otherwise.
§Availability
This function is available since SDL 3.2.0.