ngfx::D3DWindow
Inherits from ngfx::Window
Inherited by ngfx::WWindow
Public Functions
| Name | |
|---|---|
| virtual | ~D3DWindow() |
Public Attributes
| Name | |
|---|---|
| D3DSurface | d3dSurface |
Additional inherited members
Public Types inherited from ngfx::Window
| Name | |
|---|---|
| enum | @2 { DISPLAY_WIDTH, DISPLAY_HEIGHT} |
Public Functions inherited from ngfx::Window
| Name | |
|---|---|
| Window * | create(GraphicsContext * graphicsContext, const char * title, std::function< void(Window *thiz)> onWindowCreated, int w =DISPLAY_WIDTH, int h =DISPLAY_HEIGHT) |
| virtual | ~Window() |
| virtual bool | shouldClose() =0 |
| virtual void | pollEvents() =0 |
Public Attributes inherited from ngfx::Window
| Name | |
|---|---|
| int | w |
| int | h |
| Surface * | surface |
| std::function< void()> | onUpdate |
| std::function< void()> | onPaint |
| std::function< void(KeyCode code, InputAction action)> | onKey |
| std::function< void(double xoffset, double yoffset)> | onScroll |
| std::function< void(double x, double y)> | onCursorPos |
| std::function< void(MouseButton button, InputAction action)> | onMouseButton |
Public Functions Documentation
function ~D3DWindow
inline virtual ~D3DWindow()
Public Attributes Documentation
variable d3dSurface
D3DSurface d3dSurface;
Updated on 3 April 2021 at 20:21:51 PDT