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