class MetricsEvent

Defined at line 4750 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/hlcpp/fuchsia/ui/gfx/cpp/fidl.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

Public Methods

::std::unique_ptr<MetricsEvent> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, MetricsEvent * value, size_t _offset)
zx_status_t Clone (MetricsEvent * result)