[][src]Trait mutiny::material::PbrMaterial

pub trait PbrMaterial {
    fn metallic_roughness_map(&self) -> Option<&TextureSampler>;
fn base_color_map(&self) -> Option<&TextureSampler>;
fn normal_map(&self) -> Option<&TextureSampler>;
fn emissive_map(&self) -> Option<&TextureSampler>;
fn anisotropy_map(&self) -> Option<&TextureSampler>;
fn occlusion_map(&self) -> Option<&TextureSampler>;
fn alpha_ty(&self) -> AlphaType;
fn pbr_material_type(&self) -> MaterialType;
fn is_double_sided(&self) -> bool;
fn normal_scale(&self) -> f32;
fn base_color_alpha(&self) -> f32;
fn update_program_id(&mut self, light_info: &LightInfo) -> bool;
fn program_id(&self) -> &ProgramId; }

Required Methods

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]