score::gfx::ScreenNode Struct Reference
This node is used for rendering to a score::gfx::Window. More...
Inheritance diagram for score::gfx::ScreenNode:
Detailed Description
This node is used for rendering to a score::gfx::Window.
Classes | |
class | BasicRenderer |
class | ScaledRenderer |
Public Member Functions | |
ScreenNode (bool embedded=false, bool startFullScreen=false) | |
ScreenNode (std::shared_ptr< Window >) | |
void | startRendering () override |
void | render () override |
void | onRendererChange () override |
bool | canRender () const override |
void | stopRendering () override |
void | setRenderer (std::shared_ptr< RenderList > r) override |
RenderList * | renderer () const override |
void | setScreen (QScreen *) |
void | setPosition (QPoint pos) |
void | setSize (QSize sz) |
void | setRenderSize (QSize sz) |
void | setFullScreen (bool) |
void | createOutput (GraphicsApi graphicsApi, std::function< void()> onReady, std::function< void()> onUpdate, std::function< void()> onResize) override |
void | destroyOutput () override |
void | updateGraphicsAPI (GraphicsApi) override |
std::shared_ptr< RenderState > | renderState () const override |
score::gfx::OutputNodeRenderer * | createRenderer (RenderList &r) const noexcept override |
Create a renderer in a given context for this node. | |
Configuration | configuration () const noexcept override |
const std::shared_ptr< Window > & | window () const noexcept |
Public Member Functions inherited from score::gfx::Node | |
Node (const Node &)=delete | |
Node (Node &&)=delete | |
Node & | operator= (const Node &)=delete |
Node & | operator= (Node &&)=delete |
virtual void | renderedNodesChanged () |
Whenever render nodes are added / removed. | |
virtual void | process (Message &&msg) |
Process a message from the execution engine. | |
virtual void | update () |
Public Attributes | |
std::function< void(QPointF, QPointF)> | onMouseMove |
std::function< void(QTabletEvent *)> | onTabletMove |
std::function< void(int, const QString &)> | onKey |
Public Attributes inherited from score::gfx::Node | |
std::vector< Port * > | input |
Input ports of that node. | |
ossia::small_pod_vector< Port *, 1 > | output |
Output ports of that node. More... | |
ossia::flat_map< RenderList *, score::gfx::NodeRenderer * > | renderedNodes |
Map associating each RenderList to a Renderer for this model. | |
int32_t | id = -1 |
bool | addedToGraph {} |
The documentation for this struct was generated from the following files:
- ScreenNode.hpp
- ScreenNode.cpp