Trait rin_material::Material[][src]

pub trait Material {
    fn type_name(&self) -> &str;
fn parameter_names(&self) -> Vec<&str>;
fn parameters(&self) -> Vec<ParameterAny<'_>>;
fn parameters_mut(&mut self) -> Vec<ParameterMutAny<'_>>;
fn parameter(&self, name: &str) -> Option<ParameterAny<'_>>;
fn parameter_mut(&mut self, name: &str) -> Option<ParameterMutAny<'_>>;
fn parameter_type_name(&self, name: &str) -> Option<&str>;
fn reset_changed(&mut self); }

Required methods

fn type_name(&self) -> &str[src]

fn parameter_names(&self) -> Vec<&str>[src]

fn parameters(&self) -> Vec<ParameterAny<'_>>[src]

fn parameters_mut(&mut self) -> Vec<ParameterMutAny<'_>>[src]

fn parameter(&self, name: &str) -> Option<ParameterAny<'_>>[src]

fn parameter_mut(&mut self, name: &str) -> Option<ParameterMutAny<'_>>[src]

fn parameter_type_name(&self, name: &str) -> Option<&str>[src]

fn reset_changed(&mut self)[src]

Loading content...

Implementors

impl Material for AnisotropicMaterial[src]

impl Material for BasicMaterial[src]

impl Material for ClearcoatMaterial[src]

impl Material for ClothMaterial[src]

impl Material for ClothSubsurfaceMaterial[src]

impl Material for LambertMaterial[src]

impl Material for OutlineMaterial[src]

impl Material for StandardMaterial[src]

impl Material for SubsurfaceMaterial[src]

Loading content...