Music.this

Constructs a dsdl2.mixer.Music from a vanilla Mix_Music* from bindbc-sdl

class Music
@system
this
(
Mix_Music* mixMusic
,
bool isOwner = true
,
void* userRef = null
)

Parameters

mixMusic Mix_Music*

the Mix_Music pointer to manage

isOwner bool

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

userRef void*

optional pointer to maintain reference link, avoiding GC cleanup

Meta