pub struct Material<'a> { /* private fields */ }Implementations§
Source§impl<'a> Material<'a>
impl<'a> Material<'a>
pub fn index(&self) -> &str
pub fn name(&self) -> Option<&'a str>
pub fn technique(&self) -> &Technique<'a>
pub fn double_sided(&self) -> bool
pub fn transparent(&self) -> bool
pub fn transparency(&self) -> f32
pub fn shininess(&self) -> f32
pub fn ambient(&self) -> TexProperty<'a>
pub fn diffuse(&self) -> TexProperty<'a>
pub fn specular(&self) -> TexProperty<'a>
pub fn emission(&self) -> TexProperty<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Material<'a>
impl<'a> RefUnwindSafe for Material<'a>
impl<'a> Send for Material<'a>
impl<'a> Sync for Material<'a>
impl<'a> Unpin for Material<'a>
impl<'a> UnwindSafe for Material<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more