Trait luminance::shader::stage::ShaderTypeable
[−]
[src]
pub trait ShaderTypeable { fn shader_type() -> Type; }
Class of types that are shader stage types.
Required Methods
fn shader_type() -> Type
Reify a shader stage type to its runtime representation.
Implementors
impl ShaderTypeable for TessellationControlShader
impl ShaderTypeable for TessellationEvaluationShader
impl ShaderTypeable for VertexShader
impl ShaderTypeable for GeometryShader
impl ShaderTypeable for FragmentShader