|
| | ZoneShaderNodeRhi (QQuickItem *item) |
| |
| | ~ZoneShaderNodeRhi () override |
| |
| quint64 | instanceId () const |
| | Per-instance identifier, monotonically increasing across all ZoneShaderNodeRhi instances in this process.
|
| |
| void | setZoneCounts (int total, int highlighted) |
| | Publish zone and highlighted counts to the shader.
|
| |
| void | setLabelsTexture (const ZoneLabelTexture &labels) |
| | Stage the sparse zone-labels payload.
|
| |
| void | prepare () override |
| |
| void | releaseResources () override |
| |
| | ShaderNodeRhi (QQuickItem *item, std::unique_ptr< PhosphorShaders::IUboProfile > profile=nullptr) |
| |
| | ~ShaderNodeRhi () override |
| |
| void | invalidateItem () |
| | Notify the render node that its owning item is being destroyed.
|
| |
| bool | hasValidItem () const |
| | Whether this node still holds a usable back-pointer to its item.
|
| |
| const std::shared_ptr< ShaderNodeLiveness > & | liveness () const |
| | The liveness block to hand to ShaderEffect::registerRenderNode.
|
| |
| QSGRenderNode::StateFlags | changedStates () const override |
| |
| QSGRenderNode::RenderingFlags | flags () const override |
| |
| QRectF | rect () const override |
| |
| void | prepare () override |
| |
| void | render (const RenderState *state) override |
| |
| void | releaseResources () override |
| |
| void | preprocess () override |
| | Stock-parity dependency pull (mirrors QSGRhiShaderEffectNode): bring the source provider's layer texture current before this node renders.
|
| |
| void | setUniformExtension (std::shared_ptr< PhosphorShaders::IUniformExtension > extension) |
| |
| std::shared_ptr< PhosphorShaders::IUniformExtension > | uniformExtension () const |
| | Access the currently-installed uniform extension (may be nullptr).
|
| |
| void | setTime (double time) |
| |
| void | setTimeDelta (float delta) |
| |
| void | setFrame (int frame) |
| |
| void | setResolution (float width, float height) |
| |
| void | setMousePosition (const QPointF &pos) |
| |
| void | setIsReversed (bool reverse) |
| | Direction signal for asymmetric leg rendering.
|
| |
| void | setCustomParams (int index, const QVector4D ¶ms) |
| |
| void | setCustomColor (int index, const QColor &color) |
| |
| void | setSurfaceOpacity (float opacity) |
| | Per-surface inputs consumed by a SurfaceUniformProfile.
|
| |
| void | setSurfaceScale (float scale) |
| |
| void | setSurfaceFocused (bool focused) |
| |
| void | setSurfaceSize (float width, float height) |
| |
| void | setBackdropRect (float x, float y, float w, float h) |
| | The slice of the bound backdrop this surface samples, normalized texture coords (xy = min, zw = size).
|
| |
| void | setSurfaceFrameTopLeft (float x, float y) |
| |
| void | setSurfaceFrameSize (float width, float height) |
| |
| void | setAppField0 (int value) |
| | Write the consumer's two int slots inside BaseUniforms (offsets 88, 92).
|
| |
| void | setAppField1 (int value) |
| |
| bool | setExtraBinding (int binding, QRhiTexture *texture, QRhiSampler *sampler) |
| | Bind a consumer-owned texture/sampler at the given binding number.
|
| |
| bool | removeExtraBinding (int binding) |
| |
| void | setAudioSpectrum (const QVector< float > &spectrum) |
| |
| void | setUserTexture (int slot, const QImage &image) |
| |
| void | setUserTextureWrap (int slot, const QString &wrap) |
| | Set per-slot sampler address mode.
|
| |
| void | setWallpaperTexture (const QImage &image) |
| |
| void | setUseWallpaper (bool use) |
| |
| void | setUseDepthBuffer (bool use) |
| |
| void | setSourceTextureProvider (QSGTextureProvider *provider) |
| | Live texture-provider override for user-texture slot 0 (SRB binding 7 / uTexture0).
|
| |
| QSGTextureProvider * | sourceTextureProvider () const |
| |
| void | setBufferShaderPath (const QString &path) |
| |
| void | setBufferShaderPaths (const QStringList &paths) |
| |
| void | setBufferFeedback (bool enable) |
| |
| void | setBufferScale (qreal scale) |
| |
| void | setHalfFloatBuffers (bool enable) |
| | Buffer-pass texel format: RGBA16F when true (the default — safe for HDR, signed-data, and feedback buffers), RGBA8 when a pack's metadata declares its buffers hold plain clamped colour ("halfFloatBuffers": false).
|
| |
| void | setBufferWrap (const QString &wrap) |
| |
| void | setBufferWraps (const QStringList &wraps) |
| |
| void | setBufferFilter (const QString &filter) |
| |
| void | setBufferFilters (const QStringList &filters) |
| |
| bool | loadVertexShader (const QString &path) |
| |
| bool | loadFragmentShader (const QString &path) |
| |
| void | setVertexShaderSource (const QString &source) |
| |
| void | setFragmentShaderSource (const QString &source) |
| |
| bool | isShaderReady () const |
| |
| QString | shaderError () const |
| |
| void | invalidateShader () |
| |
| void | invalidateUniforms () |
| |
| void | setShaderIncludePaths (const QStringList &paths) |
| |
| void | setParamPreamble (const QString &preamble) |
| | Set the generated named-parameter preamble that is spliced after the fragment shader's #version line at load time (via PhosphorShaders::spliceAfterVersion), so authors read a parameter by name instead of hand-decoding a customParams[N].xyzw lane.
|
| |
| void | setEntryScaffold (const QString &prologue, const QList< PhosphorShaders::EntryCandidate > &candidates) |
| | Install the entry-point scaffold for the fragment stage.
|
| |
QSGRenderNode for zone overlay rendering, delegating to ShaderNodeRhi.
Inherits from ShaderNodeRhi which handles all base rendering: VBO, UBO, SRBs, pipelines, multipass, textures, shader baking, etc.
This subclass adds zone-specific state:
- Labels texture at binding 1 (via setExtraBinding)
- Zone count / highlighted count in BaseUniforms::appField0/appField1
Zone UBO data (rects, colors, params) is written by ZoneUniformExtension, which the host item registers via ShaderEffect::setUniformExtension(). The node does not hold a QVector<ZoneData> cache; it only reports counts to the shader via setZoneCounts().