Window.hasSurface

Wraps SDL_HasWindowSurface (from SDL 2.28) which checks whether there is a surface associated with the window

class Window
const @property @trusted
static if(sdlSupport >= SDLSupport.v2_28)
bool
hasSurface
()

Return Value

Type: bool

true if the window has an associated surface, otherwise false

Meta