class SetColorCmd

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

Sets a material's color.

Constraints:

- `material_id` refs a `Material`.

If a texture is set on the material, then the value sampled from the texture

is multiplied by the color.

Public Members

uint32_t material_id
ColorRgbaValue color

Public Methods

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