struct SetTextureCmd

Defined at line 2807 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/wire_types.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