score::gfx::Window Class Reference
A platform window in which the content is going to be rendered. More...
Inheritance diagram for score::gfx::Window:
Detailed Description
A platform window in which the content is going to be rendered.
Created by ScreenNode.
Public Member Functions | |
Window (GraphicsApi graphicsApi) | |
GraphicsApi | api () const noexcept |
void | init () |
void | resizeSwapChain () |
void | releaseSwapChain () |
void | render () |
void | exposeEvent (QExposeEvent *) override |
void | mouseDoubleClickEvent (QMouseEvent *ev) override |
bool | event (QEvent *e) override |
void | tabletMove (QTabletEvent *ev) |
void | mouseMove (QPointF screen, QPointF win) |
void | key (int key, const QString &t) |
Public Attributes | |
std::function< void()> | onWindowReady |
std::function< void()> | onUpdate |
std::function< void(QRhiCommandBuffer &)> | onRender |
std::function< void()> | onResize |
The documentation for this class was generated from the following files:
- plugins/score-plugin-gfx/Gfx/Graph/Window.hpp
- plugins/score-plugin-gfx/Gfx/Graph/Window.cpp