Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
PhosphorShaders::UboDirtyFlags Struct Reference

Which conceptual blocks of the UBO changed since the last upload. More...

#include <phosphor-shaders/include/PhosphorShaders/IUboProfile.h>

Public Attributes

bool time = false
 
bool timeHi = false
 
bool sceneData = false
 
bool appFields = false
 

Detailed Description

Which conceptual blocks of the UBO changed since the last upload.

The render node maps its own granular dirty flags onto these, and the profile translates them into concrete UboUploadRegion ranges via dirtyRegions().

The four flags mirror the legacy ShaderNodeRhi dirty model exactly: time → the small (iTime/iTimeDelta/iFrame) animation block timeHi → the wrap-offset-only granular path (iTimeHi) sceneData → the broad scene-header block (resolution..end) appFields → the tiny consumer escape-hatch block (appField0/1)

Member Data Documentation

◆ appFields

bool PhosphorShaders::UboDirtyFlags::appFields = false

◆ sceneData

bool PhosphorShaders::UboDirtyFlags::sceneData = false

◆ time

bool PhosphorShaders::UboDirtyFlags::time = false

◆ timeHi

bool PhosphorShaders::UboDirtyFlags::timeHi = false

The documentation for this struct was generated from the following file: