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: Blinn
Produces a specularly shaded surface with a Blinn BRDF approximation.
Constant(ConstantFx)
Tuple Fields
0: ConstantFx
Produces a constantly shaded surface that is independent of lighting.
Lambert(Lambert)
Tuple Fields
0: Lambert
Produces a diffuse shaded surface that is independent of lighting.
Phong(Phong)
Tuple Fields
0: Phong
Produces 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