Skip to main content

Module inspect

Module inspect 

Source
Expand description

只读 introspection — 供 Inspector / 诊断工具读取 Element、Layer 与 bounds。

全部是快照式只读 API,不触发 layout/paint,不影响正常渲染路径。

Structs§

ElementDetail
拾取/布局 overlay 用的单元素只读详情(一次取齐 Inspector 需要的信息)。
ElementInfo
Element 树一行(深度优先,父在前)
ImageTextureStats
图片纹理占用快照(Inspector/诊断用)。
LayerInfo
Layer 快照(依赖上一次 paint 后的状态)
SignalDirtyView
DT-02:本树当前 scope 内的 dirty subscriber → ElementId 映射。
SignalEventView
DT-02:一次 Signal 触发事件的 ElementId 映射快照。