Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSGBatchRenderer::Node Struct Reference

#include <qsgbatchrenderer_p.h>

+ Collaboration diagram for QSGBatchRenderer::Node:

Public Member Functions

Nodeparent () const
 
void append (Node *child)
 
void remove (Node *child)
 
NodefirstChild () const
 
Nodesibling () const
 
void setParent (Node *p)
 
bool hasChild (Node *child) const
 
QSGNode::NodeType type () const
 
Elementelement () const
 
RenderNodeElementrenderNodeElement () const
 
ClipBatchRootInfoclipInfo () const
 
BatchRootInforootInfo () const
 

Public Attributes

QSGNodesgNode
 
voiddata
 
Nodem_parent
 
Nodem_child
 
Nodem_next
 
Nodem_prev
 
QSGNode::DirtyState dirtyState
 
uint isOpaque: 1
 
uint isBatchRoot: 1
 
uint becameBatchRoot: 1
 

Detailed Description

Definition at line 462 of file qsgbatchrenderer_p.h.

Member Function Documentation

◆ append()

void QSGBatchRenderer::Node::append ( Node * child)
inline

Definition at line 474 of file qsgbatchrenderer_p.h.

References child, m_next, m_prev, and Q_ASSERT.

◆ clipInfo()

ClipBatchRootInfo * QSGBatchRenderer::Node::clipInfo ( ) const
inline

Definition at line 551 of file qsgbatchrenderer_p.h.

References QSGNode::ClipNodeType, Q_ASSERT, and QSGNode::type().

+ Here is the call graph for this function:

◆ element()

Element * QSGBatchRenderer::Node::element ( ) const
inline

Definition at line 541 of file qsgbatchrenderer_p.h.

References QSGNode::GeometryNodeType, Q_ASSERT, and QSGNode::type().

+ Here is the call graph for this function:

◆ firstChild()

Node * QSGBatchRenderer::Node::firstChild ( ) const
inline

Definition at line 512 of file qsgbatchrenderer_p.h.

◆ hasChild()

bool QSGBatchRenderer::Node::hasChild ( Node * child) const
inline

Definition at line 524 of file qsgbatchrenderer_p.h.

References child, and sibling().

+ Here is the call graph for this function:

◆ parent()

Node * QSGBatchRenderer::Node::parent ( ) const
inline

Definition at line 472 of file qsgbatchrenderer_p.h.

Referenced by QSGBatchRenderer::Renderer::nodeChanged().

+ Here is the caller graph for this function:

◆ remove()

void QSGBatchRenderer::Node::remove ( Node * child)
inline

Definition at line 494 of file qsgbatchrenderer_p.h.

References child, and Q_ASSERT.

◆ renderNodeElement()

RenderNodeElement * QSGBatchRenderer::Node::renderNodeElement ( ) const
inline

Definition at line 546 of file qsgbatchrenderer_p.h.

References Q_ASSERT, QSGNode::RenderNodeType, and QSGNode::type().

+ Here is the call graph for this function:

◆ rootInfo()

BatchRootInfo * QSGBatchRenderer::Node::rootInfo ( ) const
inline

Definition at line 556 of file qsgbatchrenderer_p.h.

References QSGNode::ClipNodeType, Q_ASSERT, QSGNode::TransformNodeType, and QSGNode::type().

+ Here is the call graph for this function:

◆ setParent()

void QSGBatchRenderer::Node::setParent ( Node * p)
inline

Definition at line 519 of file qsgbatchrenderer_p.h.

References Q_ASSERT.

◆ sibling()

Node * QSGBatchRenderer::Node::sibling ( ) const
inline

Definition at line 514 of file qsgbatchrenderer_p.h.

References m_child, nullptr, and Q_ASSERT.

Referenced by hasChild().

+ Here is the caller graph for this function:

◆ type()

QSGNode::NodeType QSGBatchRenderer::Node::type ( ) const
inline

Definition at line 539 of file qsgbatchrenderer_p.h.

References QSGNode::type().

Referenced by QSGBatchRenderer::qsg_matrixForRoot(), and QSGBatchRenderer::Updater::updateRootTransforms().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ becameBatchRoot

uint QSGBatchRenderer::Node::becameBatchRoot

Definition at line 537 of file qsgbatchrenderer_p.h.

◆ data

void* QSGBatchRenderer::Node::data

Definition at line 465 of file qsgbatchrenderer_p.h.

◆ dirtyState

QSGNode::DirtyState QSGBatchRenderer::Node::dirtyState

◆ isBatchRoot

uint QSGBatchRenderer::Node::isBatchRoot

Definition at line 536 of file qsgbatchrenderer_p.h.

◆ isOpaque

uint QSGBatchRenderer::Node::isOpaque

Definition at line 535 of file qsgbatchrenderer_p.h.

◆ m_child

Node* QSGBatchRenderer::Node::m_child

Definition at line 468 of file qsgbatchrenderer_p.h.

Referenced by sibling().

◆ m_next

Node* QSGBatchRenderer::Node::m_next

Definition at line 469 of file qsgbatchrenderer_p.h.

Referenced by append().

◆ m_parent

Node* QSGBatchRenderer::Node::m_parent

Definition at line 467 of file qsgbatchrenderer_p.h.

◆ m_prev

Node* QSGBatchRenderer::Node::m_prev

Definition at line 470 of file qsgbatchrenderer_p.h.

Referenced by append().

◆ sgNode

QSGNode* QSGBatchRenderer::Node::sgNode

The documentation for this struct was generated from the following file: