Trait rin_material::PbrMaterial[][src]

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

Required methods

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 anisotropy_map(&self) -> Parameter<Option<&TextureSampler>>[src]

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

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

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

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

fn normal_scale(&self) -> &Parameter<f32>[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]

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...