Trait rin::material::Material [−][src]
pub trait Material { pub fn type_name(&self) -> &str; pub fn parameter_names(&self) -> Vec<&str, Global>ⓘ; pub fn parameters(&self) -> Vec<ParameterAny<'_>, Global>ⓘ; pub fn parameters_mut(&mut self) -> Vec<ParameterMutAny<'_>, Global>ⓘ; pub fn parameter(&self, name: &str) -> Option<ParameterAny<'_>>; pub fn parameter_mut(&mut self, name: &str) -> Option<ParameterMutAny<'_>>; pub fn parameter_type_name(&self, name: &str) -> Option<&str>; pub fn reset_changed(&mut self); }
Required methods
pub fn type_name(&self) -> &str
[src]
pub fn parameter_names(&self) -> Vec<&str, Global>ⓘ
[src]
pub fn parameters(&self) -> Vec<ParameterAny<'_>, Global>ⓘ
[src]
pub fn parameters_mut(&mut self) -> Vec<ParameterMutAny<'_>, Global>ⓘ
[src]
pub fn parameter(&self, name: &str) -> Option<ParameterAny<'_>>
[src]
pub fn parameter_mut(&mut self, name: &str) -> Option<ParameterMutAny<'_>>
[src]
pub fn parameter_type_name(&self, name: &str) -> Option<&str>
[src]
pub fn reset_changed(&mut self)
[src]
Implementors
impl Material for ShaderMaterial
[src]
impl Material for ShaderMaterial
[src]pub fn type_name(&self) -> &str
[src]
pub fn parameter_names(&self) -> Vec<&str, Global>ⓘ
[src]
pub fn parameters(&self) -> Vec<ParameterAny<'_>, Global>ⓘ
[src]
pub fn parameters_mut(&mut self) -> Vec<ParameterMutAny<'_>, Global>ⓘ
[src]
pub fn parameter(&self, name: &str) -> Option<ParameterAny<'_>>
[src]
pub fn parameter_mut(&mut self, name: &str) -> Option<ParameterMutAny<'_>>
[src]
pub fn parameter_type_name(&self, name: &str) -> Option<&str>
[src]
pub fn reset_changed(&mut self)
[src]
impl Material for SkyboxMaterial
[src]
impl Material for SkyboxMaterial
[src]pub fn type_name(&self) -> &str
[src]
pub fn parameter_names(&self) -> Vec<&str, Global>ⓘ
[src]
pub fn parameters(&self) -> Vec<ParameterAny<'_>, Global>ⓘ
[src]
pub fn parameters_mut(&mut self) -> Vec<ParameterMutAny<'_>, Global>ⓘ
[src]
pub fn parameter(&self, name: &str) -> Option<ParameterAny<'_>>
[src]
pub fn parameter_mut(&mut self, name: &str) -> Option<ParameterMutAny<'_>>
[src]
pub fn parameter_type_name(&self, name: &str) -> Option<&str>
[src]
pub fn reset_changed(&mut self)
[src]
impl Material for WaterMaterial
[src]
impl Material for WaterMaterial
[src]pub fn type_name(&self) -> &str
[src]
pub fn parameter_names(&self) -> Vec<&str, Global>ⓘ
[src]
pub fn parameters(&self) -> Vec<ParameterAny<'_>, Global>ⓘ
[src]
pub fn parameters_mut(&mut self) -> Vec<ParameterMutAny<'_>, Global>ⓘ
[src]
pub fn parameter(&self, name: &str) -> Option<ParameterAny<'_>>
[src]
pub fn parameter_mut(&mut self, name: &str) -> Option<ParameterMutAny<'_>>
[src]
pub fn parameter_type_name(&self, name: &str) -> Option<&str>
[src]
pub fn reset_changed(&mut self)
[src]
impl Material for AnisotropicMaterial
[src]
impl Material for AnisotropicMaterial
[src]pub fn type_name(&self) -> &str
[src]
pub fn parameter_names(&self) -> Vec<&str, Global>ⓘ
[src]
pub fn parameters(&self) -> Vec<ParameterAny<'_>, Global>ⓘ
[src]
pub fn parameters_mut(&mut self) -> Vec<ParameterMutAny<'_>, Global>ⓘ
[src]
pub fn parameter(&self, name: &str) -> Option<ParameterAny<'_>>
[src]
pub fn parameter_mut(&mut self, name: &str) -> Option<ParameterMutAny<'_>>
[src]
pub fn parameter_type_name(&self, name: &str) -> Option<&str>
[src]
pub fn reset_changed(&mut self)
[src]
impl Material for BasicMaterial
[src]
impl Material for BasicMaterial
[src]pub fn type_name(&self) -> &str
[src]
pub fn parameter_names(&self) -> Vec<&str, Global>ⓘ
[src]
pub fn parameters(&self) -> Vec<ParameterAny<'_>, Global>ⓘ
[src]
pub fn parameters_mut(&mut self) -> Vec<ParameterMutAny<'_>, Global>ⓘ
[src]
pub fn parameter(&self, name: &str) -> Option<ParameterAny<'_>>
[src]
pub fn parameter_mut(&mut self, name: &str) -> Option<ParameterMutAny<'_>>
[src]
pub fn parameter_type_name(&self, name: &str) -> Option<&str>
[src]
pub fn reset_changed(&mut self)
[src]
impl Material for ClearcoatMaterial
[src]
impl Material for ClearcoatMaterial
[src]pub fn type_name(&self) -> &str
[src]
pub fn parameter_names(&self) -> Vec<&str, Global>ⓘ
[src]
pub fn parameters(&self) -> Vec<ParameterAny<'_>, Global>ⓘ
[src]
pub fn parameters_mut(&mut self) -> Vec<ParameterMutAny<'_>, Global>ⓘ
[src]
pub fn parameter(&self, name: &str) -> Option<ParameterAny<'_>>
[src]
pub fn parameter_mut(&mut self, name: &str) -> Option<ParameterMutAny<'_>>
[src]
pub fn parameter_type_name(&self, name: &str) -> Option<&str>
[src]
pub fn reset_changed(&mut self)
[src]
impl Material for ClothMaterial
[src]
impl Material for ClothMaterial
[src]pub fn type_name(&self) -> &str
[src]
pub fn parameter_names(&self) -> Vec<&str, Global>ⓘ
[src]
pub fn parameters(&self) -> Vec<ParameterAny<'_>, Global>ⓘ
[src]
pub fn parameters_mut(&mut self) -> Vec<ParameterMutAny<'_>, Global>ⓘ
[src]
pub fn parameter(&self, name: &str) -> Option<ParameterAny<'_>>
[src]
pub fn parameter_mut(&mut self, name: &str) -> Option<ParameterMutAny<'_>>
[src]
pub fn parameter_type_name(&self, name: &str) -> Option<&str>
[src]
pub fn reset_changed(&mut self)
[src]
impl Material for ClothSubsurfaceMaterial
[src]
impl Material for ClothSubsurfaceMaterial
[src]pub fn type_name(&self) -> &str
[src]
pub fn parameter_names(&self) -> Vec<&str, Global>ⓘ
[src]
pub fn parameters(&self) -> Vec<ParameterAny<'_>, Global>ⓘ
[src]
pub fn parameters_mut(&mut self) -> Vec<ParameterMutAny<'_>, Global>ⓘ
[src]
pub fn parameter(&self, name: &str) -> Option<ParameterAny<'_>>
[src]
pub fn parameter_mut(&mut self, name: &str) -> Option<ParameterMutAny<'_>>
[src]
pub fn parameter_type_name(&self, name: &str) -> Option<&str>
[src]
pub fn reset_changed(&mut self)
[src]
impl Material for LambertMaterial
[src]
impl Material for LambertMaterial
[src]pub fn type_name(&self) -> &str
[src]
pub fn parameter_names(&self) -> Vec<&str, Global>ⓘ
[src]
pub fn parameters(&self) -> Vec<ParameterAny<'_>, Global>ⓘ
[src]
pub fn parameters_mut(&mut self) -> Vec<ParameterMutAny<'_>, Global>ⓘ
[src]
pub fn parameter(&self, name: &str) -> Option<ParameterAny<'_>>
[src]
pub fn parameter_mut(&mut self, name: &str) -> Option<ParameterMutAny<'_>>
[src]
pub fn parameter_type_name(&self, name: &str) -> Option<&str>
[src]
pub fn reset_changed(&mut self)
[src]
impl Material for OutlineMaterial
[src]
impl Material for OutlineMaterial
[src]pub fn type_name(&self) -> &str
[src]
pub fn parameter_names(&self) -> Vec<&str, Global>ⓘ
[src]
pub fn parameters(&self) -> Vec<ParameterAny<'_>, Global>ⓘ
[src]
pub fn parameters_mut(&mut self) -> Vec<ParameterMutAny<'_>, Global>ⓘ
[src]
pub fn parameter(&self, name: &str) -> Option<ParameterAny<'_>>
[src]
pub fn parameter_mut(&mut self, name: &str) -> Option<ParameterMutAny<'_>>
[src]
pub fn parameter_type_name(&self, name: &str) -> Option<&str>
[src]
pub fn reset_changed(&mut self)
[src]
impl Material for StandardMaterial
[src]
impl Material for StandardMaterial
[src]pub fn type_name(&self) -> &str
[src]
pub fn parameter_names(&self) -> Vec<&str, Global>ⓘ
[src]
pub fn parameters(&self) -> Vec<ParameterAny<'_>, Global>ⓘ
[src]
pub fn parameters_mut(&mut self) -> Vec<ParameterMutAny<'_>, Global>ⓘ
[src]
pub fn parameter(&self, name: &str) -> Option<ParameterAny<'_>>
[src]
pub fn parameter_mut(&mut self, name: &str) -> Option<ParameterMutAny<'_>>
[src]
pub fn parameter_type_name(&self, name: &str) -> Option<&str>
[src]
pub fn reset_changed(&mut self)
[src]
impl Material for SubsurfaceMaterial
[src]
impl Material for SubsurfaceMaterial
[src]pub fn type_name(&self) -> &str
[src]
pub fn parameter_names(&self) -> Vec<&str, Global>ⓘ
[src]
pub fn parameters(&self) -> Vec<ParameterAny<'_>, Global>ⓘ
[src]
pub fn parameters_mut(&mut self) -> Vec<ParameterMutAny<'_>, Global>ⓘ
[src]
pub fn parameter(&self, name: &str) -> Option<ParameterAny<'_>>
[src]
pub fn parameter_mut(&mut self, name: &str) -> Option<ParameterMutAny<'_>>
[src]
pub fn parameter_type_name(&self, name: &str) -> Option<&str>
[src]
pub fn reset_changed(&mut self)
[src]
impl<M> Material for PostFragmentMaterial<M> where
M: Material,
[src]
impl<M> Material for PostFragmentMaterial<M> where
M: Material,
[src]