struct MetricsEvent

Defined at line 3699 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/wire_types.h

Provides rendering target metrics information about the specified node.

This event is delivered when the following conditions are true:

- The node is a descendant of a `Scene`.

- The node has `kMetricsEventMask` set to an enabled state.

- The node's metrics have changed since they were last delivered, or since

`kMetricsEventMask` transitioned from a disabled state to an enabled state.

Subscribe to this event to receive information about the scale factors you

should apply when generating textures for your nodes.

Public Members

uint32_t node_id
Metrics metrics