Struct collada::document::PhongEffect
source · pub struct PhongEffect {
pub emission: [f32; 4],
pub ambient: [f32; 4],
pub diffuse: [f32; 4],
pub specular: [f32; 4],
pub shininess: f32,
pub index_of_refraction: f32,
}
Expand description
Commonly used shading techniques Holds a description of the textures, samplers, shaders, parameters, and passes necessary for rendering this effect using one method.
Fields
emission: [f32; 4]
ambient: [f32; 4]
diffuse: [f32; 4]
specular: [f32; 4]
shininess: f32
index_of_refraction: f32
Trait Implementations
sourceimpl Clone for PhongEffect
impl Clone for PhongEffect
sourcefn clone(&self) -> PhongEffect
fn clone(&self) -> PhongEffect
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PhongEffect
impl Debug for PhongEffect
sourceimpl PartialEq<PhongEffect> for PhongEffect
impl PartialEq<PhongEffect> for PhongEffect
sourcefn eq(&self, other: &PhongEffect) -> bool
fn eq(&self, other: &PhongEffect) -> bool
impl StructuralPartialEq for PhongEffect
Auto Trait Implementations
impl RefUnwindSafe for PhongEffect
impl Send for PhongEffect
impl Sync for PhongEffect
impl Unpin for PhongEffect
impl UnwindSafe for PhongEffect
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more