//! Types that are shared between Rust and WGSL.
#[repr(C)]
#[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable, PartialOrd, PartialEq)]
pub(crate) struct UniformData {
pub(crate) transform: [[f32; 4]; 3],
pub(crate) resolution: [u32; 2],
pub(crate) beam_radius: f32,
pub(crate) intensity: f32,
pub(crate) gamma: f32,
pub(crate) decay_per_sample: f32,
pub(crate) num_samples: u32,
pub(crate) screen_decay: f32,
}