tawasuyu/llimphi
Sovereign retained-mode GPU UI framework in Rust (wgpu+vello+taffy+parley), Elm loop, 40+ widgets.
1// Copyright 2024 the Velato Authors
2// SPDX-License-Identifier: Apache-2.0 OR MIT
3
4use serde::{Deserialize, Serialize};
5
6use crate::schema::{
7 animated_properties::value::FloatValue,
8 helpers::{int_boolean::BoolInt, visual_object::VisualObject},
9};
10
11use super::visual::VisualLayer;
12
13/// Renders a Precomposition
14#[derive(Deserialize, Serialize, Debug, Clone, PartialEq)]
15pub struct ImageLayer {
16 /// Visual layer data
17 #[serde(flatten)]
18 pub visual_layer: VisualLayer,
19 /// ID of the image asset as specified in the assets
20 #[serde(rename = "refId")]
21 pub ref_id: String,
22}