Trait rin::scene::renderer::Material[][src]

pub trait Material: Material + MaterialParameterTypes + WriteStd140 {
    pub fn shaders(&self) -> PropertyChanged<Vec<Shader, Global>>;

    pub fn data(&self) -> PropertyChanged<Option<Data>> { ... }
pub fn transparency(&self) -> PropertyChanged<MaterialTransparency> { ... }
pub fn uniforms(&self) -> PropertyChanged<Vec<Uniform, Global>> { ... }
pub fn textures(
        &self
    ) -> PropertyChanged<Vec<(&str, TextureSampler), Global>> { ... }
pub fn cubemaps(
        &self
    ) -> PropertyChanged<Vec<(&str, CubemapSampler), Global>> { ... }
pub fn render_planes(
        &self
    ) -> PropertyChanged<Option<(Entity, &[RenderPlaneAsUniform<'_>])>> { ... }
pub fn properties(&self) -> PropertyChanged<Vec<Property, Global>> { ... }
pub fn program_settings(&self) -> PropertyChanged<ProgramSettings> { ... }
pub fn update(&mut self, EntitiesThreadLocal<'_>, ResourcesThreadLocal<'_>) { ... } }

Required methods

pub fn shaders(&self) -> PropertyChanged<Vec<Shader, Global>>[src]

Loading content...

Provided methods

pub fn data(&self) -> PropertyChanged<Option<Data>>[src]

pub fn transparency(&self) -> PropertyChanged<MaterialTransparency>[src]

pub fn uniforms(&self) -> PropertyChanged<Vec<Uniform, Global>>[src]

pub fn textures(&self) -> PropertyChanged<Vec<(&str, TextureSampler), Global>>[src]

pub fn cubemaps(&self) -> PropertyChanged<Vec<(&str, CubemapSampler), Global>>[src]

pub fn render_planes(
    &self
) -> PropertyChanged<Option<(Entity, &[RenderPlaneAsUniform<'_>])>>
[src]

pub fn properties(&self) -> PropertyChanged<Vec<Property, Global>>[src]

pub fn program_settings(&self) -> PropertyChanged<ProgramSettings>[src]

pub fn update(&mut self, EntitiesThreadLocal<'_>, ResourcesThreadLocal<'_>)[src]

Loading content...

Implementors

impl Material for BasicMaterial[src]

impl Material for OutlineMaterial[src]

impl Material for SkyboxMaterial[src]

impl Material for WaterMaterial[src]

impl Material for ShaderMaterial[src]

impl<M> Material for M where
    M: PbrMaterial, 
[src]

Loading content...