Window.this

Constructs a dsdl2.Window from a vanilla SDL_Window* from bindbc-sdl

Parameters

sdlWindow SDL_Window*

the SDL_Window pointer to manage

isOwner bool

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

userRef void*

optional pointer to maintain reference link, avoiding GC cleanup

Meta