CompileReflectShader

Trait CompileReflectShader 

Source
pub trait CompileReflectShader<T, C, S>: CompileShader<T, Options = <T as FromCompilation<C, S>>::Options, Context = <T as FromCompilation<C, S>>::Context> + ReflectShader
where T: FromCompilation<C, S> + OutputTarget,
{ }
Expand description

Marker trait for combinations of targets and compilations that can be reflected and compiled successfully.

This trait is automatically implemented for reflected outputs that have FromCompilation implement for a given target that also implement CompileShader for that target.

Implementors§

Source§

impl<T, C, O, S> CompileReflectShader<T, C, S> for O
where T: OutputTarget + FromCompilation<C, S>, O: ReflectShader + CompileShader<T, Options = <T as FromCompilation<C, S>>::Options, Context = <T as FromCompilation<C, S>>::Context>,