DtkDeclarative
DTK Declarative module
载入中...
搜索中...
未找到
Dtk::Quick::SoftwareRenderNode类 参考
类 Dtk::Quick::SoftwareRenderNode 继承关系图:
Dtk::Quick::DBlitFramebufferNode

Public 成员函数

 SoftwareRenderNode (QQuickItem *item)
 
QImage toImage () const override
 
void render (const RenderState *state) override
 
- Public 成员函数 继承自 Dtk::Quick::DBlitFramebufferNode
QSizeF size () const
 
QSGTexture * texture () const
 
QRectF rect () const override
 
void resize (const QSizeF &size)
 
void setMargins (const QMarginsF &margin)
 
void setRenderCallback (RenderCallback callback, void *data)
 
void doRenderCallback ()
 

额外继承的成员函数

- Public 类型 继承自 Dtk::Quick::DBlitFramebufferNode
typedef void(* RenderCallback) (DBlitFramebufferNode *node, void *data)
 
- 静态 Public 成员函数 继承自 Dtk::Quick::DBlitFramebufferNode
static DBlitFramebufferNodecreateOpenGLNode (QQuickItem *item, bool shareBuffer=false, bool useAtlasTexture=false)
 
static DBlitFramebufferNodecreateSoftwareNode (QQuickItem *item, bool shareBuffer=false, bool useAtlasTexture=false)
 
- Protected 成员函数 继承自 Dtk::Quick::DBlitFramebufferNode
 DBlitFramebufferNode (QQuickItem *item)
 
- Protected 属性 继承自 Dtk::Quick::DBlitFramebufferNode
QPointer< QQuickItem > m_item
 
QSizeF m_size
 
QMarginsF m_margins
 
QRectF m_rect
 
QScopedPointer< ProxyAtlasTexturem_texture
 
RenderCallback m_renderCallback = nullptr
 
void * m_callbackData = nullptr
 
bool shareBuffer = false
 
bool useAtlasTexture = false
 

成员函数说明

◆ toImage()

QImage Dtk::Quick::SoftwareRenderNode::toImage ( ) const
inlineoverridevirtual

该类的文档由以下文件生成: