gfx.window

Optional window package, mainly to run gfx-d examples

Modules

wayland
module gfx.window.wayland

wayland window impl

win32
module gfx.window.win32

Win32 Window interface for Gfx-d

xcb
module gfx.window.xcb
Undocumented in source.

Members

Aliases

CloseHandler
alias CloseHandler = bool delegate()
Undocumented in source.
KeyHandler
alias KeyHandler = void delegate(uint key)
Undocumented in source.
MouseHandler
alias MouseHandler = void delegate(uint x, uint y)
Undocumented in source.

Functions

createDisplay
Display createDisplay(Backend[] loadOrder)

Create a display for the running platform. The display will load a backend instance during startup. It will try the backends in the provided loadOrder

Interfaces

Display
interface Display
Undocumented in source.
Window
interface Window
Undocumented in source.

Manifest constants

gfxWindowLogMask
enum gfxWindowLogMask;
Undocumented in source.

Variables

defaultBackendLoadOrder
Backend[] defaultBackendLoadOrder;

The backend load order is the order into which backend load attempts will be performed. This array provides a default value for createDisplay parameter

gfxWindowLog
auto gfxWindowLog;
Undocumented in source.

Meta