![]() |
Qt 6.x
The Qt SDK
|
#include <qsgbatchrenderer_p.h>
Inheritance diagram for QSGBatchRenderer::Element:
Collaboration diagram for QSGBatchRenderer::Element:Public Member Functions | |
| Element () | |
| void | setNode (QSGGeometryNode *n) |
| void | ensureBoundsValid () |
| void | computeBounds () |
Public Attributes | |
| QSGGeometryNode * | node = nullptr |
| Batch * | batch = nullptr |
| Element * | nextInBatch = nullptr |
| Node * | root = nullptr |
| Rect | bounds |
| int | order = 0 |
| QRhiShaderResourceBindings * | srb = nullptr |
| QRhiGraphicsPipeline * | ps = nullptr |
| QRhiGraphicsPipeline * | depthPostPassPs = nullptr |
| uint | boundsComputed: 1 |
| uint | boundsOutsideFloatRange: 1 |
| uint | translateOnlyToRoot: 1 |
| uint | removed: 1 |
| uint | orphaned: 1 |
| uint | isRenderNode: 1 |
| uint | isMaterialBlended: 1 |
Definition at line 270 of file qsgbatchrenderer_p.h.
|
inline |
Definition at line 271 of file qsgbatchrenderer_p.h.
| void QSGBatchRenderer::Element::computeBounds | ( | ) |
Definition at line 649 of file qsgbatchrenderer.cpp.
References bounds, boundsComputed, boundsOutsideFloatRange, QSGBatchRenderer::Rect::br, QSGBasicGeometryNode::geometry(), i, QSGBatchRenderer::Rect::isOutsideFloatRange(), QSGBatchRenderer::Rect::map(), QSGBasicGeometryNode::matrix(), node, Q_ASSERT, QSGBatchRenderer::qsg_positionAttribute(), qt_is_finite(), QSGBatchRenderer::Rect::set(), QSGBatchRenderer::Rect::tl, QSGBatchRenderer::Pt::x, and QSGBatchRenderer::Pt::y.
Referenced by ensureBoundsValid().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 287 of file qsgbatchrenderer_p.h.
References boundsComputed, and computeBounds().
Here is the call graph for this function:
|
inline |
Definition at line 282 of file qsgbatchrenderer_p.h.
References QSGBatchRenderer::hasMaterialWithBlending(), isMaterialBlended, and node.
Here is the call graph for this function:Definition at line 294 of file qsgbatchrenderer_p.h.
| Rect QSGBatchRenderer::Element::bounds |
Definition at line 298 of file qsgbatchrenderer_p.h.
Referenced by computeBounds().
| uint QSGBatchRenderer::Element::boundsComputed |
Definition at line 305 of file qsgbatchrenderer_p.h.
Referenced by computeBounds(), and ensureBoundsValid().
| uint QSGBatchRenderer::Element::boundsOutsideFloatRange |
Definition at line 306 of file qsgbatchrenderer_p.h.
Referenced by computeBounds().
| QRhiGraphicsPipeline* QSGBatchRenderer::Element::depthPostPassPs = nullptr |
Definition at line 303 of file qsgbatchrenderer_p.h.
| uint QSGBatchRenderer::Element::isMaterialBlended |
Definition at line 311 of file qsgbatchrenderer_p.h.
Referenced by setNode().
| uint QSGBatchRenderer::Element::isRenderNode |
Definition at line 310 of file qsgbatchrenderer_p.h.
Referenced by QSGBatchRenderer::RenderNodeElement::RenderNodeElement().
Definition at line 295 of file qsgbatchrenderer_p.h.
Referenced by QSGBatchRenderer::Batch::isMaterialCompatible().
| QSGGeometryNode* QSGBatchRenderer::Element::node = nullptr |
Definition at line 293 of file qsgbatchrenderer_p.h.
Referenced by computeBounds(), and setNode().
| int QSGBatchRenderer::Element::order = 0 |
Definition at line 300 of file qsgbatchrenderer_p.h.
| uint QSGBatchRenderer::Element::orphaned |
Definition at line 309 of file qsgbatchrenderer_p.h.
| QRhiGraphicsPipeline* QSGBatchRenderer::Element::ps = nullptr |
Definition at line 302 of file qsgbatchrenderer_p.h.
| uint QSGBatchRenderer::Element::removed |
Definition at line 308 of file qsgbatchrenderer_p.h.
Definition at line 296 of file qsgbatchrenderer_p.h.
| QRhiShaderResourceBindings* QSGBatchRenderer::Element::srb = nullptr |
Definition at line 301 of file qsgbatchrenderer_p.h.
| uint QSGBatchRenderer::Element::translateOnlyToRoot |
Definition at line 307 of file qsgbatchrenderer_p.h.