Add Luma struct (#1154)

* Make Luma usable for MaskImageNode
This commit is contained in:
Dennis Kobert 2023-04-23 19:42:34 +02:00 committed by Keavon Chambers
parent bdc1ef926a
commit 366906b956
3 changed files with 30 additions and 1 deletions

View file

@ -9,7 +9,7 @@ use num_traits::{cast::cast as num_cast, Num, NumCast};
#[cfg(target_arch = "spirv")]
use spirv_std::num_traits::{cast::cast as num_cast, float::Float, FromPrimitive, Num, NumCast, ToPrimitive};
pub use self::color::Color;
pub use self::color::{Color, Luma};
pub mod adjustments;
#[cfg(not(target_arch = "spirv"))]