Enum dae_parser::Shader [−][src]
pub enum Shader {
Blinn(Blinn),
Constant(ConstantFx),
Lambert(Lambert),
Phong(Phong),
}Expand description
A shader element.
Variants
Blinn(Blinn)
Tuple Fields
0: BlinnProduces a specularly shaded surface with a Blinn BRDF approximation.
Constant(ConstantFx)
Tuple Fields
0: ConstantFxProduces a constantly shaded surface that is independent of lighting.
Lambert(Lambert)
Tuple Fields
0: LambertProduces a diffuse shaded surface that is independent of lighting.
Phong(Phong)
Tuple Fields
0: PhongProduces a specularly shaded surface where the specular reflection is shaded according the Phong BRDF approximation.
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Shader
impl UnwindSafe for Shader
Blanket Implementations
Mutably borrows from an owned value. Read more