(path: &str)
| 210 | use crate::renderer::material_pipeline::{Bucket, FragmentProfile}; |
| 211 | |
| 212 | fn desc(path: &str) -> FileMaterialDesc { |
| 213 | FileMaterialDesc { |
| 214 | path: PathBuf::from(path), |
| 215 | profile: FragmentProfile::Translucent, |
| 216 | bucket: Bucket::Refractive, |
| 217 | reads_scene: true, |
| 218 | wants_instancing: false, |
| 219 | } |
| 220 | } |
| 221 | |
| 222 | #[test] |
| 223 | fn drain_returns_registered_handle_for_event_path() { |
no outgoing calls