bevy_magic_fx/
shader_variant.rsuse bevy::{prelude::*, utils::HashMap};
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Asset, Serialize, Deserialize)]
pub struct ShaderVariantManifest {
pub texture: String,
pub masking_texture: Option<String>,
pub animation_speed: Vec2,
pub distortion_speed: Vec2,
pub scroll_repeats: Vec2,
pub distortion_amount: f32,
pub color: LinearRgba,
pub emissive: LinearRgba,
pub depth_cutoff_offset: Option<f32> , pub fresnel_power: Option<f32>,
pub animation_frame_dimensions: Option<[u32;2]>
}
impl TypePath for ShaderVariantManifest {
fn short_type_path() -> &'static str {
"shadvar.ron"
}
fn type_path() -> &'static str {
"shadvar.ron"
}
}