ngfx::VKWindow
Inherits from ngfx::Window
Public Functions
| Name | |
|---|---|
| virtual | ~VKWindow() |
Public Attributes
| Name | |
|---|---|
| VKSurface | vkSurface |
Protected Attributes
| Name | |
|---|---|
| VkInstance | instance |
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 ~VKWindow
inline virtual ~VKWindow()
Public Attributes Documentation
variable vkSurface
VKSurface vkSurface;
Protected Attributes Documentation
variable instance
VkInstance instance;
Updated on 3 April 2021 at 20:21:51 PDT