![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qsgbatchrenderer_p.h>
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 403 of file qsgbatchrenderer_p.h.
|
inline |
Definition at line 405 of file qsgbatchrenderer_p.h.
void Batch::cleanupRemovedElements | ( | ) |
Definition at line 747 of file qsgbatchrenderer.cpp.
References first, and QSGBatchRenderer::Element::nextInBatch.
Referenced by invalidate().
bool Batch::geometryWasChanged | ( | QSGGeometryNode * | gn | ) |
Definition at line 732 of file qsgbatchrenderer.cpp.
References first, and QSGBatchRenderer::Element::nextInBatch.
|
inline |
Definition at line 415 of file qsgbatchrenderer_p.h.
References first, indexCount, positionAttribute, root, and vertexCount.
void Batch::invalidate | ( | ) |
Definition at line 776 of file qsgbatchrenderer.cpp.
References QSGBatchRenderer::Element::batch, cleanupRemovedElements(), first, QSGBatchRenderer::Element::nextInBatch, and root.
BatchCompatibility Batch::isMaterialCompatible | ( | Element * | e | ) | const |
Definition at line 708 of file qsgbatchrenderer.cpp.
References QSGBatchRenderer::BatchBreaksOnCompare, QSGBatchRenderer::BatchIsCompatible, first, and QSGBatchRenderer::Element::nextInBatch.
bool Batch::isSafeToBatch | ( | ) | const |
Definition at line 817 of file qsgbatchrenderer.cpp.
References first, and QSGBatchRenderer::Element::nextInBatch.
bool Batch::isTranslateOnlyToRoot | ( | ) | const |
Definition at line 790 of file qsgbatchrenderer.cpp.
References first, and QSGBatchRenderer::Element::nextInBatch.
QColor QSGBatchRenderer::Batch::blendConstant |
Definition at line 457 of file qsgbatchrenderer_p.h.
ClipState QSGBatchRenderer::Batch::clipState |
Definition at line 455 of file qsgbatchrenderer_p.h.
QDataBuffer<DrawSet> QSGBatchRenderer::Batch::drawSets |
Definition at line 459 of file qsgbatchrenderer_p.h.
Element* QSGBatchRenderer::Batch::first |
Definition at line 433 of file qsgbatchrenderer_p.h.
Referenced by cleanupRemovedElements(), geometryWasChanged(), init(), invalidate(), isMaterialCompatible(), isSafeToBatch(), isTranslateOnlyToRoot(), QSGBatchRenderer::qsg_countNodesInBatch(), QSGBatchRenderer::qsg_sort_batch_decreasing_order(), and QSGBatchRenderer::qsg_sort_batch_increasing_order().
Buffer QSGBatchRenderer::Batch::ibo |
Definition at line 453 of file qsgbatchrenderer_p.h.
int QSGBatchRenderer::Batch::indexCount |
Definition at line 439 of file qsgbatchrenderer_p.h.
Referenced by init().
uint QSGBatchRenderer::Batch::isOpaque |
Definition at line 443 of file qsgbatchrenderer_p.h.
uint QSGBatchRenderer::Batch::isRenderNode |
Definition at line 446 of file qsgbatchrenderer_p.h.
int QSGBatchRenderer::Batch::lastOrderInBatch |
Definition at line 441 of file qsgbatchrenderer_p.h.
uint QSGBatchRenderer::Batch::merged |
Definition at line 445 of file qsgbatchrenderer_p.h.
uint QSGBatchRenderer::Batch::needsPurge |
Definition at line 448 of file qsgbatchrenderer_p.h.
uint QSGBatchRenderer::Batch::needsUpload |
Definition at line 444 of file qsgbatchrenderer_p.h.
int QSGBatchRenderer::Batch::positionAttribute |
Definition at line 436 of file qsgbatchrenderer_p.h.
Referenced by init().
Node* QSGBatchRenderer::Batch::root |
Definition at line 434 of file qsgbatchrenderer_p.h.
Referenced by init(), and invalidate().
StencilClipState QSGBatchRenderer::Batch::stencilClipState |
Definition at line 456 of file qsgbatchrenderer_p.h.
QRhiBuffer* QSGBatchRenderer::Batch::ubuf |
Definition at line 454 of file qsgbatchrenderer_p.h.
Referenced by QSGBatchRenderer::qsg_wipeBatch().
uint QSGBatchRenderer::Batch::ubufDataValid |
Definition at line 447 of file qsgbatchrenderer_p.h.
|
mutable |
Definition at line 450 of file qsgbatchrenderer_p.h.
Buffer QSGBatchRenderer::Batch::vbo |
Definition at line 452 of file qsgbatchrenderer_p.h.
int QSGBatchRenderer::Batch::vertexCount |
Definition at line 438 of file qsgbatchrenderer_p.h.
Referenced by init().