loadAnimationRaw

Wraps IMG_LoadAnimation_RW (from SDL_image 2.6) which loads an animation from a data buffer into a dsdl2.image.Animation

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

Parameters

data void[]

data buffer of the animation

Return Value

Type: Animation

dsdl2.image.Animation of the loaded animated image

Throws

dsdl2.SDLException if failed to load the animation

Meta