Function Music.this
Constructs a Music from a vanilla Mix_Music* from bindbc-sdl
this
(
sdl_mixer .Mix_Music* mixMusic,
bool isOwner = true,
void* userRef = null
);
Parameters
| Name | Description |
|---|---|
| mixMusic | the Mix_Music pointer to manage |
| isOwner | whether the instance owns the given Mix_Music* and should destroy it on its own |
| userRef | optional pointer to maintain reference link, avoiding GC cleanup |