Gfx::Sh4ltOutputNode Struct Reference
Inheritance diagram for Gfx::Sh4ltOutputNode:
Public Member Functions | |
Sh4ltOutputNode (const SharedOutputSettings &) | |
void | startRendering () override |
void | onRendererChange () override |
void | render () override |
bool | canRender () const override |
void | stopRendering () override |
void | setRenderer (std::shared_ptr< score::gfx::RenderList > r) override |
score::gfx::RenderList * | renderer () const override |
void | createOutput (score::gfx::GraphicsApi graphicsApi, std::function< void()> onReady, std::function< void()> onUpdate, std::function< void()> onResize) override |
void | destroyOutput () override |
std::shared_ptr< score::gfx::RenderState > | renderState () const override |
score::gfx::OutputNodeRenderer * | createRenderer (score::gfx::RenderList &r) const noexcept override |
Create a renderer in a given context for this node. | |
Configuration | configuration () const noexcept override |
Public Member Functions inherited from score::gfx::OutputNode | |
virtual void | updateGraphicsAPI (GraphicsApi) |
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::weak_ptr< score::gfx::RenderList > | m_renderer {} |
QRhiTexture * | m_texture {} |
QRhiTextureRenderTarget * | m_renderTarget {} |
std::function< void()> | m_update |
std::shared_ptr< score::gfx::RenderState > | m_renderState {} |
std::shared_ptr< sh4lt::Writer > | m_writer {} |
int64_t | m_frame_counter {0} |
int64_t | m_frame_dur {0} |
bool | m_hasSender {} |
SharedOutputSettings | m_settings |
QRhiReadbackResult | m_readback |
std::shared_ptr< sh4lt::logger::Console > | m_logger |
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 {} |
Member Data Documentation
◆ m_logger
std::shared_ptr<sh4lt::logger::Console> Gfx::Sh4ltOutputNode::m_logger |
Initial value:
{
std::make_shared<sh4lt::logger::Console>()}
The documentation for this struct was generated from the following file:
- Sh4ltOutputDevice.cpp