Chunk.this

Constructs a dsdl2.mixer.Chunk from a vanilla Mix_Chunk* from bindbc-sdl

class Chunk
@system
this
(
Mix_Chunk* mixChunk
,
bool isOwner = true
,
void* userRef = null
)

Parameters

mixChunk Mix_Chunk*

the Mix_Chunk pointer to manage

isOwner bool

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

userRef void*

optional pointer to maintain reference link, avoiding GC cleanup

Meta