IMG_AnimationDecoderStatus.3type - Man Page

An enum representing the status of an animation decoder.

Synopsis

#include <SDL3_image/SDL_image.h>

typedef enum IMG_AnimationDecoderStatus
{
    IMG_DECODER_STATUS_INVALID = -1,    /**< The decoder is invalid */
    IMG_DECODER_STATUS_OK,              /**< The decoder is ready to decode the next frame */
    IMG_DECODER_STATUS_FAILED,          /**< The decoder failed to decode a frame, call SDL_GetError() for more information. */
    IMG_DECODER_STATUS_COMPLETE         /**< No more frames available */
} IMG_AnimationDecoderStatus;

Availability

This enum is available since SDL_image 3.4.0.

Info

SDL_image 3.4.0 SDL_image3 DATATYPES