#include <swmm2dresultsqsgrenderer.h>
|
| QSGNode * | updatePaintNode (QSGNode *oldNode, UpdatePaintNodeData *) override |
| |
◆ SWMM2DResultsQSGRenderer()
| SWMM2DResultsQSGRenderer::SWMM2DResultsQSGRenderer |
( |
QQuickItem * |
parent = nullptr | ) |
|
|
explicit |
◆ ~SWMM2DResultsQSGRenderer()
| SWMM2DResultsQSGRenderer::~SWMM2DResultsQSGRenderer |
( |
| ) |
|
|
override |
◆ contentReady
| void SWMM2DResultsQSGRenderer::contentReady |
( |
| ) |
|
|
signal |
QSG-2D-1M Phase 7 — emitted when an asynchronous derived-geometry job (contour marching) publishes a result. MapCanvas connects this to its framebuffer-regrab path: without it, the freshly synced bands would sit in the offscreen QSG widget until the next layer-driven repaint.
◆ contentRevision()
| quint64 SWMM2DResultsQSGRenderer::contentRevision |
( |
| ) |
const |
|
inlinenoexcept |
Monotonic counter bumped every time an external change marks this renderer's content dirty. MapCanvas compares it against the value recorded when it last grabbed the QSG framebuffer, so a change that arrives after the canvas cleared its own dirty flag still forces a regrab instead of compositing a stale frame. Extent and layer-pointer changes are keyed separately by the canvas and do not bump this.
◆ forceRebuild()
| void SWMM2DResultsQSGRenderer::forceRebuild |
( |
| ) |
|
Drop caches and mark content dirty — used by MapCanvas when the QSG/CPU ownership toggles so a stale frame is never composited.
◆ setLayer()
◆ setMapExtent()
| void SWMM2DResultsQSGRenderer::setMapExtent |
( |
const MapExtent & |
extent | ) |
|
◆ updatePaintNode()
| QSGNode * SWMM2DResultsQSGRenderer::updatePaintNode |
( |
QSGNode * |
oldNode, |
|
|
UpdatePaintNodeData * |
|
|
) |
| |
|
overrideprotected |
The documentation for this class was generated from the following files: