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

NameDescription
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