Prepare for adding more shaders

This commit is contained in:
Hanno Braun 2024-11-21 19:46:46 +01:00
parent 5d91934761
commit 3e275dcf57

View File

@ -59,7 +59,9 @@ impl Shaders<TrianglesVertex> {
}],
}
}
}
impl<V> Shaders<V> {
pub fn fragment_state(&self) -> wgpu::FragmentState {
wgpu::FragmentState {
module: &self.shader_module,