Trait rin::material::PbrMaterial[][src]

pub trait PbrMaterial {
Show methods pub fn base_color(&self) -> &Parameter<AlphaColor<f32, Rgb<f32, LinearRgb>>>;
pub fn metallic_roughness_map(&self) -> Parameter<Option<&TextureSampler>>;
pub fn metallic_map(&self) -> Parameter<Option<&TextureSampler>>;
pub fn roughness_map(&self) -> Parameter<Option<&TextureSampler>>;
pub fn base_color_map(&self) -> Parameter<Option<&TextureSampler>>;
pub fn normal_map(&self) -> Parameter<Option<&TextureSampler>>;
pub fn emissive_map(&self) -> Parameter<Option<&TextureSampler>>;
pub fn anisotropy_map(&self) -> Parameter<Option<&TextureSampler>>;
pub fn occlusion_map(&self) -> Parameter<Option<&TextureSampler>>;
pub fn alpha_ty(&self) -> &Parameter<AlphaType>;
pub fn pbr_material_type(&self) -> MaterialType;
pub fn is_double_sided(&self) -> &Parameter<bool>;
pub fn normal_scale(&self) -> &Parameter<f32>;
pub fn base_color_alpha(&self) -> f32;
pub fn shader_precision(&self) -> &Parameter<ShaderPrecision>;
pub fn override_translucent(&self) -> &Parameter<Option<bool>>;
pub fn debug_texcoords(&self) -> &Parameter<bool>;
pub fn debug_normals(&self) -> &Parameter<bool>;
}

Required methods

pub fn base_color(&self) -> &Parameter<AlphaColor<f32, Rgb<f32, LinearRgb>>>[src]

pub fn metallic_roughness_map(&self) -> Parameter<Option<&TextureSampler>>[src]

pub fn metallic_map(&self) -> Parameter<Option<&TextureSampler>>[src]

pub fn roughness_map(&self) -> Parameter<Option<&TextureSampler>>[src]

pub fn base_color_map(&self) -> Parameter<Option<&TextureSampler>>[src]

pub fn normal_map(&self) -> Parameter<Option<&TextureSampler>>[src]

pub fn emissive_map(&self) -> Parameter<Option<&TextureSampler>>[src]

pub fn anisotropy_map(&self) -> Parameter<Option<&TextureSampler>>[src]

pub fn occlusion_map(&self) -> Parameter<Option<&TextureSampler>>[src]

pub fn alpha_ty(&self) -> &Parameter<AlphaType>[src]

pub fn pbr_material_type(&self) -> MaterialType[src]

pub fn is_double_sided(&self) -> &Parameter<bool>[src]

pub fn normal_scale(&self) -> &Parameter<f32>[src]

pub fn base_color_alpha(&self) -> f32[src]

pub fn shader_precision(&self) -> &Parameter<ShaderPrecision>[src]

pub fn override_translucent(&self) -> &Parameter<Option<bool>>[src]

pub fn debug_texcoords(&self) -> &Parameter<bool>[src]

pub fn debug_normals(&self) -> &Parameter<bool>[src]

Loading content...

Implementors

impl PbrMaterial for AnisotropicMaterial[src]

impl PbrMaterial for ClearcoatMaterial[src]

impl PbrMaterial for ClothMaterial[src]

impl PbrMaterial for ClothSubsurfaceMaterial[src]

impl PbrMaterial for LambertMaterial[src]

impl PbrMaterial for StandardMaterial[src]

impl PbrMaterial for SubsurfaceMaterial[src]

Loading content...