logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_SurfaceHasAlternateImages - Return whether a surface has alternate versions available.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

surface
              the SDL_Surface structure to query.

Name

       SDL_SurfaceHasAlternateImages - Return whether a surface has alternate versions available.

Return Value

       Returns true if alternate versions are available or false otherwise.

See Also

SDL_AddSurfaceAlternateImage(3), SDL_RemoveSurfaceAlternateImages(3), SDL_GetSurfaceImages(3)

Simple Directmedia Layer                           SDL 3.2.20                   SDL_SurfaceHasAlternateImages(3)

Synopsis

#include<SDL3/SDL_surface.h>boolSDL_SurfaceHasAlternateImages(SDL_Surface*surface);

Thread Safety

       It is safe to call this function from any thread.

See Also