struct SizeChangeHintEvent
Defined at line 3006 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/wire_types.h
Delivered in response to a size change hint from a parent node
(SendSizeChangeHintCmd).
This event is delivered when the following conditions are true:
- The node has `kSizeChangeEventMask` set to an enabled state.
- A parent node has sent a SendSizeChangeHintCmd.
Subscribe to this event to receive information about how large textures you
will need in the near future for your nodes. The canonical use case is to
pre-allocate memory to avoid repeated re-allocations.
Public Members
uint32_t node_id
float width_change_factor
float height_change_factor