SDL_CursorFrameInfo.3type - Man Page

Animated cursor frame info.

Synopsis

#include <SDL3/SDL_mouse.h>

typedef struct SDL_CursorFrameInfo
{
    SDL_Surface *surface; /**< The surface data for this frame */
    Uint32 duration;      /**< The frame duration in milliseconds (a duration of 0 is infinite) */
} SDL_CursorFrameInfo;

Availability

This struct is available since SDL 3.4.0.

Info

SDL 3.3.2 Simple Directmedia Layer SDL3 DATATYPES