8#include <PhosphorRendering/phosphorrendering_export.h>
81 void uploadLabelsTexture(QRhi* rhi, QRhiCommandBuffer* cb);
84 QImage m_transparentFallbackImage;
85 std::unique_ptr<QRhiTexture> m_labelsTexture;
86 std::unique_ptr<QRhiSampler> m_labelsSampler;
87 quint64 m_instanceId = 0;
88 bool m_labelsTextureDirty =
false;
89 bool m_labelsInitialized =
false;
95 int m_labelsInitFailureCount = 0;
96 bool m_labelsInitGaveUp =
false;
QSGRenderNode for fullscreen-quad shader rendering via Qt RHI (Vulkan / OpenGL)
Definition ShaderNodeRhi.h:114
QSGRenderNode for zone overlay rendering, delegating to ShaderNodeRhi.
Definition ZoneShaderNodeRhi.h:35
void setLabelsTexture(const QImage &image)
Stage a labels texture image.
ZoneShaderNodeRhi(QQuickItem *item)
~ZoneShaderNodeRhi() override
quint64 instanceId() const
Per-instance identifier, monotonically increasing across all ZoneShaderNodeRhi instances in this proc...
Definition ZoneShaderNodeRhi.h:50
void releaseResources() override
void setZoneCounts(int total, int highlighted)
Publish zone and highlighted counts to the shader.
Definition ShaderCompiler.h:15