Expand description
只读 introspection — 供 Inspector / 诊断工具读取 Element、Layer 与 bounds。
全部是快照式只读 API,不触发 layout/paint,不影响正常渲染路径。
Structs§
- Element
Detail - 拾取/布局 overlay 用的单元素只读详情(一次取齐 Inspector 需要的信息)。
- Element
Info - Element 树一行(深度优先,父在前)
- Image
Texture Stats - 图片纹理占用快照(Inspector/诊断用)。
- Layer
Info - Layer 快照(依赖上一次 paint 后的状态)
- Signal
Dirty View - DT-02:本树当前 scope 内的 dirty subscriber → ElementId 映射。
- Signal
Event View - DT-02:一次 Signal 触发事件的 ElementId 映射快照。