(This function is part of SDL_image, a separate library from SDL.)

IMG_InitFlags

Initialization flags

Header File

Defined in SDL_image.h

Syntax

typedef enum IMG_InitFlags
{
    IMG_INIT_JPG    = 0x00000001,
    IMG_INIT_PNG    = 0x00000002,
    IMG_INIT_TIF    = 0x00000004,
    IMG_INIT_WEBP   = 0x00000008,
    IMG_INIT_JXL    = 0x00000010,
    IMG_INIT_AVIF   = 0x00000020
} IMG_InitFlags;

CategoryAPI, CategoryAPIEnum