use bevy::prelude::*; use bevy_interleave::prelude::*; #[derive( Debug, Planar, ReflectInterleaved, StorageBindings, TextureBindings, )] pub struct MyStruct { #[texture_format(TextureFormat::R32Sint)] pub field: i32, #[texture_format(TextureFormat::R32Uint)] pub field2: u32, #[texture_format(TextureFormat::R8Unorm)] pub bool_field: bool, #[texture_format(TextureFormat::Rgba32Uint)] pub array: [u32; 4], } fn main() { let mut app = App::new(); app.add_plugins(( DefaultPlugins, PlanarPlugin::::default(), PlanarTexturePlugin::::default(), // TODO: PlanarStoragePlugin::::default(), )); app.run(); }