Module gfx.window
Optional window package, mainly to run gfx-d examples
Functions
Name | Description |
---|---|
createDisplay(createInfo)
|
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. On linux, more than one display implementation are provided. You may use linuxDisplayOrder to choose. The first succesfully created display is returned. |
Interfaces
Name | Description |
---|---|
Display
|
|
Window
|
Structs
Name | Description |
---|---|
DisplayCreateInfo
|
Options that influence how the display is created, and how it will create a Gfx-D instance. |
KeyEvent
|
|
MouseEvent
|
Enums
Name | Description |
---|---|
LinuxDisplay
|
Identifier of the display to use on linux |
Manifest constants
Name | Type | Description |
---|---|---|
gfxWindowLogMask
|
Aliases
Name | Type | Description |
---|---|---|
CloseHandler
|
bool delegate()
|
|
KeyHandler
|
void delegate(KeyEvent)
|
|
MouseHandler
|
void delegate(MouseEvent)
|
|
ResizeHandler
|
void delegate(uint, uint)
|