Struct rin_material::ClothSubsurfaceMaterial [−][src]
pub struct ClothSubsurfaceMaterial {Show fields
pub base_color_map: Parameter<Option<TextureSampler>>,
pub normal_map: Parameter<Option<TextureSampler>>,
pub occlusion_map: Parameter<Option<TextureSampler>>,
pub emissive_map: Parameter<Option<TextureSampler>>,
pub base_color: Parameter<Rgba<f32, LinearRgb>>,
pub sheen_color: Parameter<Rgba<f32, LinearRgb>>,
pub subsurface_color: Parameter<Rgba<f32, LinearRgb>>,
pub emissive_color: Parameter<Rgb<f32, LinearRgb>>,
pub roughness: Parameter<f32>,
pub double_sided: Parameter<bool>,
pub normal_scale: Parameter<f32>,
pub alpha_type: Parameter<AlphaType>,
pub shader_precision: Parameter<ShaderPrecision>,
pub override_translucent: Parameter<Option<bool>>,
pub debug_texcoords: Parameter<bool>,
pub debug_normals: Parameter<bool>,
// some fields omitted
}Fields
base_color_map: Parameter<Option<TextureSampler>>normal_map: Parameter<Option<TextureSampler>>occlusion_map: Parameter<Option<TextureSampler>>emissive_map: Parameter<Option<TextureSampler>>base_color: Parameter<Rgba<f32, LinearRgb>>hidden
sheen_color: Parameter<Rgba<f32, LinearRgb>>hidden
subsurface_color: Parameter<Rgba<f32, LinearRgb>>hidden
emissive_color: Parameter<Rgb<f32, LinearRgb>>hidden
roughness: Parameter<f32>double_sided: Parameter<bool>normal_scale: Parameter<f32>alpha_type: Parameter<AlphaType>shader_precision: Parameter<ShaderPrecision>override_translucent: Parameter<Option<bool>>debug_texcoords: Parameter<bool>debug_normals: Parameter<bool>Implementations
impl ClothSubsurfaceMaterial[src]
impl ClothSubsurfaceMaterial[src]pub fn new() -> ClothSubsurfaceMaterial[src]
Trait Implementations
impl Clone for ClothSubsurfaceMaterial[src]
impl Clone for ClothSubsurfaceMaterial[src]fn clone(&self) -> ClothSubsurfaceMaterial[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Default for ClothSubsurfaceMaterial[src]
impl Default for ClothSubsurfaceMaterial[src]fn default() -> ClothSubsurfaceMaterial[src]
impl Material for ClothSubsurfaceMaterial[src]
impl Material for ClothSubsurfaceMaterial[src]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]
impl MaterialParameterTypes for ClothSubsurfaceMaterial[src]
impl MaterialParameterTypes for ClothSubsurfaceMaterial[src]fn uniform_parameters(&self) -> Vec<UniformRef<'_>>[src]
fn texture_parameters(&self) -> Vec<UniformRef<'_>>[src]
fn cubemap_parameters(&self) -> Vec<UniformRef<'_>>[src]
fn properties_parameter(&self) -> Option<&Parameter<Vec<Property>>>[src]
fn alpha_type_parameter(&self) -> Option<&Parameter<AlphaType>>[src]
fn any_uniform_changed(&self) -> bool[src]
fn any_texture_changed(&self) -> bool[src]
fn any_cubemap_changed(&self) -> bool[src]
fn any_data_changed(&self) -> bool[src]
fn has_uniforms(&self) -> bool[src]
fn has_data(&self) -> bool[src]
fn has_textures(&self) -> bool[src]
fn has_cubemaps(&self) -> bool[src]
fn any_uniform_option_changed(&self) -> bool[src]
fn any_texture_option_changed(&self) -> bool[src]
fn any_cubemap_option_changed(&self) -> bool[src]
fn any_data_option_changed(&self) -> bool[src]
impl PbrMaterial for ClothSubsurfaceMaterial[src]
impl PbrMaterial for ClothSubsurfaceMaterial[src]fn base_color(&self) -> &Parameter<Rgba<f32, LinearRgb>>[src]
fn metallic_roughness_map(&self) -> Parameter<Option<&TextureSampler>>[src]
fn metallic_map(&self) -> Parameter<Option<&TextureSampler>>[src]
fn roughness_map(&self) -> Parameter<Option<&TextureSampler>>[src]
fn base_color_map(&self) -> Parameter<Option<&TextureSampler>>[src]
fn normal_map(&self) -> Parameter<Option<&TextureSampler>>[src]
fn emissive_map(&self) -> Parameter<Option<&TextureSampler>>[src]
fn occlusion_map(&self) -> Parameter<Option<&TextureSampler>>[src]
fn anisotropy_map(&self) -> Parameter<Option<&TextureSampler>>[src]
fn alpha_ty(&self) -> &Parameter<AlphaType>[src]
fn normal_scale(&self) -> &Parameter<f32>[src]
fn pbr_material_type(&self) -> MaterialType[src]
fn is_double_sided(&self) -> &Parameter<bool>[src]
fn base_color_alpha(&self) -> f32[src]
fn shader_precision(&self) -> &Parameter<ShaderPrecision>[src]
fn override_translucent(&self) -> &Parameter<Option<bool>>[src]
fn debug_texcoords(&self) -> &Parameter<bool>[src]
fn debug_normals(&self) -> &Parameter<bool>[src]
impl WriteStd140 for ClothSubsurfaceMaterial[src]
impl WriteStd140 for ClothSubsurfaceMaterial[src]fn write_std140(&self, data: &mut Data)[src]
Auto Trait Implementations
impl RefUnwindSafe for ClothSubsurfaceMaterial
impl Send for ClothSubsurfaceMaterial
impl Sync for ClothSubsurfaceMaterial
impl Unpin for ClothSubsurfaceMaterial
impl UnwindSafe for ClothSubsurfaceMaterial
Blanket Implementations
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]pub fn to_subset(&self) -> Option<SS>[src]
pub fn is_in_subset(&self) -> bool[src]
pub fn to_subset_unchecked(&self) -> SS[src]
pub fn from_subset(element: &SS) -> SP[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]