loadAnimationTypedRaw

Wraps IMG_LoadAnimationTyped_RW (from SDL_image 2.6) which loads a typed image from a data buffer into a dsdl2.image.Animation

@safe @trusted
static if(bindSDLImage)
static if(sdlImageSupport >= SDLImageSupport.v2_6)
loadAnimationTypedRaw
(
const void[] data
,
string type
)

Parameters

data void[]

data buffer of the animation

type string

specified type 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