gioser

tawasuyu/llimphi

Sovereign retained-mode GPU UI framework in Rust (wgpu+vello+taffy+parley), Elm loop, 40+ widgets.

Rust 614Markdown 274TOML 149RON 310606 Definitions

⎇ main shared/foreign-lottie/src/schema/constants/matte_mode.rs Rust · 15 lines · 373 B History Who touched what raw

chore: refresco desde el monorepo — 27 crates nuevos (anim, lottie, svg, mesh, image, layer, test, wire-view, widgets rag-sidebar/router/lazy-list/rive-button) y sync de los 95 existentes 93253cc22 · Sergio ·

1// Copyright 2024 the Velato Authors
2// SPDX-License-Identifier: Apache-2.0 OR MIT
3
4use serde_repr::{Deserialize_repr, Serialize_repr};
5
6/// How a layer should mask another layer
7#[repr(u8)]
8#[derive(Deserialize_repr, Serialize_repr, Debug, Clone, PartialEq)]
9pub enum MatteMode {
10    Normal = 0,
11    Alpha = 1,
12    InvertedAlpha = 2,
13    Luma = 3,
14    InvertedLuma = 4,
15}