loadGIFAnimationRaw

Wraps IMG_LoadGIFAnimation_RW (from SDL_image 2.6) which loads a dsdl2.image.Animation from a buffer of animated GIF file format

@safe @trusted
static if(bindSDLImage)
static if(sdlImageSupport >= SDLImageSupport.v2_6)
loadGIFAnimationRaw
(
const void[] data
)

Parameters

data void[]

data buffer of the animation

Return Value

Type: Animation

dsdl2.image.Animation of the animated GIF

Throws

dsdl2.SDLException if failed to load

Meta