Trait shader_version::PickShader
[−]
[src]
pub trait PickShader: Ord + Sized { fn pick_shader<'a, S: ?Sized>(
self,
shaders: &Shaders<'a, Self, S>
) -> Option<&'a S>; }
Implemented by shader version enums.
Required Methods
fn pick_shader<'a, S: ?Sized>(
self,
shaders: &Shaders<'a, Self, S>
) -> Option<&'a S>
self,
shaders: &Shaders<'a, Self, S>
) -> Option<&'a S>
Pick shader.
Implementors
impl PickShader for GLSL