1 2 3 4 5 6 7 8
use wgcore::Shader; #[derive(Shader)] #[shader(src = "rot2.wgsl")] /// Shader exposing a 2D rotation type and operations. pub struct WgRot2; wgcore::test_shader_compilation!(WgRot2);