class LayerArgs

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

A Layer is a 2-dimensional image that is drawn by a Compositor. The

contents of each Layer in a Layerstack are independent of each other.

A layer is not drawn unless it has a camera, texture, or color.

Supported commands:

- Detach

- SetCamera

- SetColor

- SetTexture

- SetSize (depth must be zero)

- SetSize

- SetTranslation (z component determines the relative Z-ordering of layers)

- SetRotation (must rotate around Z-axis)

- SetScale

Public Members

uint32_t dummy

Public Methods

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