Trait rin_scene::renderer::Material[][src]

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

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

Required methods

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

Loading content...

Provided methods

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

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

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

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

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

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

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

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

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

Loading content...

Implementations on Foreign Types

impl Material for BasicMaterial[src]

impl Material for OutlineMaterial[src]

Loading content...

Implementors

impl Material for SkyboxMaterial[src]

impl Material for WaterMaterial[src]

impl Material for ShaderMaterial[src]

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

Loading content...