Animation.this

Constructs a dsdl2.image.Animation from a vanilla IMG_Animation* from bindbc-sdl

class Animation
@system
this
(
IMG_Animation* imgAnimation
,
bool isOwner = true
,
void* userRef = null
)

Parameters

imgAnimation IMG_Animation*

the IMG_Animation pointer to manage

isOwner bool

whether the instance owns the given IMG_Animation* and should destroy it on its own

userRef void*

optional pointer to maintain reference link, avoiding GC cleanup

Meta