![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include <QtGlobal>Go to the source code of this file.
Namespaces | |
| namespace | OpenSWMM |
| namespace | OpenSWMM::Render |
Functions | |
| quint8 | OpenSWMM::Render::premul (quint8 c, quint8 a) |
Premultiplied-alpha helper shared by the QSG map renderers (terrain mesh, 2D results, 1D network), which all emit vertex colours into QSGVertexColorMaterial.
Qt-Core-only so it can be unit-tested headlessly — see tests/unit/test_qsgpremultiply.cpp.