class SetTextureCmd
Defined at line 1120 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/hlcpp/fuchsia/ui/gfx/cpp/fidl.h
Sets/clears a material's texture.
Constraints:
- `material_id` refs a `Material`.
- `texture_id` refs a `Image`, `ImagePipe2`, or nothing.
If no texture is provided (i.e. `texture_id` is zero), a solid color is used.
If a texture is provided, then the value sampled from the texture is
multiplied by the color.
Public Members
uint32_t material_id
uint32_t texture_id
Public Methods
::std::unique_ptr<SetTextureCmd> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SetTextureCmd * value, size_t _offset)
zx_status_t Clone (SetTextureCmd * result)