![]() |
Qt 6.x
The Qt SDK
|
#include <qsgbatchrenderer_p.h>
Collaboration diagram for QSGBatchRenderer::Batch:Public Member Functions | |
| Batch () | |
| bool | geometryWasChanged (QSGGeometryNode *gn) |
| BatchCompatibility | isMaterialCompatible (Element *e) const |
| void | invalidate () |
| void | cleanupRemovedElements () |
| bool | isTranslateOnlyToRoot () const |
| bool | isSafeToBatch () const |
| void | init () |
Public Attributes | |
| Element * | first |
| Node * | root |
| int | positionAttribute |
| int | vertexCount |
| int | indexCount |
| int | lastOrderInBatch |
| uint | isOpaque: 1 |
| uint | needsUpload: 1 |
| uint | merged: 1 |
| uint | isRenderNode: 1 |
| uint | ubufDataValid: 1 |
| uint | needsPurge: 1 |
| uint | uploadedThisFrame: 1 |
| Buffer | vbo |
| Buffer | ibo |
| QRhiBuffer * | ubuf |
| ClipState | clipState |
| StencilClipState | stencilClipState |
| QColor | blendConstant |
| QDataBuffer< DrawSet > | drawSets |
Definition at line 402 of file qsgbatchrenderer_p.h.
|
inline |
Definition at line 404 of file qsgbatchrenderer_p.h.
| void QSGBatchRenderer::Batch::cleanupRemovedElements | ( | ) |
Definition at line 724 of file qsgbatchrenderer.cpp.
References e, first, and needsPurge.
Referenced by invalidate().
Here is the caller graph for this function:| bool QSGBatchRenderer::Batch::geometryWasChanged | ( | QSGGeometryNode * | gn | ) |
Definition at line 709 of file qsgbatchrenderer.cpp.
References QSGGeometry::attributes(), e, first, QSGBasicGeometryNode::geometry(), needsUpload, and Q_ASSERT_X.
Here is the call graph for this function:
|
inline |
Definition at line 414 of file qsgbatchrenderer_p.h.
| void QSGBatchRenderer::Batch::invalidate | ( | ) |
Definition at line 753 of file qsgbatchrenderer.cpp.
References cleanupRemovedElements(), e, first, and root.
Here is the call graph for this function:| BatchCompatibility QSGBatchRenderer::Batch::isMaterialCompatible | ( | Element * | e | ) | const |
Definition at line 685 of file qsgbatchrenderer.cpp.
References QSGBatchRenderer::BatchBreaksOnCompare, QSGBatchRenderer::BatchIsCompatible, QSGMaterial::compare(), e, first, QSGBatchRenderer::Element::nextInBatch, and QSGMaterial::type().
Here is the call graph for this function:| bool QSGBatchRenderer::Batch::isSafeToBatch | ( | ) | const |
Definition at line 794 of file qsgbatchrenderer.cpp.
References e, first, and QSGBatchRenderer::is2DSafe().
Here is the call graph for this function:| bool QSGBatchRenderer::Batch::isTranslateOnlyToRoot | ( | ) | const |
Definition at line 767 of file qsgbatchrenderer.cpp.
| QColor QSGBatchRenderer::Batch::blendConstant |
Definition at line 456 of file qsgbatchrenderer_p.h.
| ClipState QSGBatchRenderer::Batch::clipState |
Definition at line 454 of file qsgbatchrenderer_p.h.
| QDataBuffer<DrawSet> QSGBatchRenderer::Batch::drawSets |
Definition at line 458 of file qsgbatchrenderer_p.h.
| Element* QSGBatchRenderer::Batch::first |
Definition at line 432 of file qsgbatchrenderer_p.h.
Referenced by cleanupRemovedElements(), geometryWasChanged(), invalidate(), isMaterialCompatible(), isSafeToBatch(), isTranslateOnlyToRoot(), and QSGBatchRenderer::qsg_countNodesInBatch().
| Buffer QSGBatchRenderer::Batch::ibo |
Definition at line 452 of file qsgbatchrenderer_p.h.
Referenced by QSGBatchRenderer::qsg_wipeBatch().
| int QSGBatchRenderer::Batch::indexCount |
Definition at line 438 of file qsgbatchrenderer_p.h.
| uint QSGBatchRenderer::Batch::isOpaque |
Definition at line 442 of file qsgbatchrenderer_p.h.
| uint QSGBatchRenderer::Batch::isRenderNode |
Definition at line 445 of file qsgbatchrenderer_p.h.
Referenced by QSGBatchRenderer::Renderer::recordRenderPass().
| int QSGBatchRenderer::Batch::lastOrderInBatch |
Definition at line 440 of file qsgbatchrenderer_p.h.
| uint QSGBatchRenderer::Batch::merged |
Definition at line 444 of file qsgbatchrenderer_p.h.
Referenced by QSGBatchRenderer::Renderer::recordRenderPass().
| uint QSGBatchRenderer::Batch::needsPurge |
Definition at line 447 of file qsgbatchrenderer_p.h.
Referenced by cleanupRemovedElements().
| uint QSGBatchRenderer::Batch::needsUpload |
Definition at line 443 of file qsgbatchrenderer_p.h.
Referenced by geometryWasChanged().
| int QSGBatchRenderer::Batch::positionAttribute |
Definition at line 435 of file qsgbatchrenderer_p.h.
| Node* QSGBatchRenderer::Batch::root |
Definition at line 433 of file qsgbatchrenderer_p.h.
Referenced by invalidate().
| StencilClipState QSGBatchRenderer::Batch::stencilClipState |
Definition at line 455 of file qsgbatchrenderer_p.h.
Referenced by QSGBatchRenderer::qsg_wipeBatch().
| QRhiBuffer* QSGBatchRenderer::Batch::ubuf |
Definition at line 453 of file qsgbatchrenderer_p.h.
Referenced by QSGBatchRenderer::qsg_wipeBatch().
| uint QSGBatchRenderer::Batch::ubufDataValid |
Definition at line 446 of file qsgbatchrenderer_p.h.
|
mutable |
Definition at line 449 of file qsgbatchrenderer_p.h.
| Buffer QSGBatchRenderer::Batch::vbo |
Definition at line 451 of file qsgbatchrenderer_p.h.
Referenced by QSGBatchRenderer::qsg_wipeBatch().
| int QSGBatchRenderer::Batch::vertexCount |
Definition at line 437 of file qsgbatchrenderer_p.h.