class SizeChangeHintEvent
Defined at line 1634 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/hlcpp/fuchsia/ui/gfx/cpp/fidl.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
Public Methods
::std::unique_ptr<SizeChangeHintEvent> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SizeChangeHintEvent * value, size_t _offset)
zx_status_t Clone (SizeChangeHintEvent * result)