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]
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]
&self
) -> PropertyChanged<Option<(Entity, &[RenderPlaneAsUniform<'_>])>>
fn properties(&self) -> PropertyChanged<Vec<Property>>
[src]
fn program_settings(&self) -> PropertyChanged<ProgramSettings>
[src]
fn update(&mut self, _: EntitiesThreadLocal<'_>, _: ResourcesThreadLocal<'_>)
[src]
Implementations on Foreign Types
impl Material for BasicMaterial
[src]
impl Material for BasicMaterial
[src]fn properties(&self) -> PropertyChanged<Vec<Property>>
[src]
fn transparency(&self) -> PropertyChanged<MaterialTransparency>
[src]
fn shaders(&self) -> PropertyChanged<Vec<Shader>>
[src]
fn program_settings(&self) -> PropertyChanged<ProgramSettings>
[src]
impl Material for OutlineMaterial
[src]
impl Material for OutlineMaterial
[src]fn properties(&self) -> PropertyChanged<Vec<Property>>
[src]
fn transparency(&self) -> PropertyChanged<MaterialTransparency>
[src]
fn shaders(&self) -> PropertyChanged<Vec<Shader>>
[src]
Implementors
impl Material for SkyboxMaterial
[src]
impl Material for SkyboxMaterial
[src]fn shaders(&self) -> PropertyChanged<Vec<Shader>>
[src]
fn properties(&self) -> PropertyChanged<Vec<Property>>
[src]
fn transparency(&self) -> PropertyChanged<MaterialTransparency>
[src]
impl Material for WaterMaterial
[src]
impl Material for WaterMaterial
[src]fn data(&self) -> PropertyChanged<Option<Data>>
[src]
fn render_planes(
&self
) -> PropertyChanged<Option<(Entity, &[RenderPlaneAsUniform<'_>])>>
[src]
&self
) -> PropertyChanged<Option<(Entity, &[RenderPlaneAsUniform<'_>])>>
fn properties(&self) -> PropertyChanged<Vec<Property>>
[src]
fn transparency(&self) -> PropertyChanged<MaterialTransparency>
[src]
fn shaders(&self) -> PropertyChanged<Vec<Shader>>
[src]
fn program_settings(&self) -> PropertyChanged<ProgramSettings>
[src]
impl Material for ShaderMaterial
[src]
impl Material for ShaderMaterial
[src]fn shaders(&self) -> PropertyChanged<Vec<Shader>>
[src]
fn uniforms(&self) -> PropertyChanged<Vec<Uniform>>
[src]
fn data(&self) -> PropertyChanged<Option<Data>>
[src]
fn textures(&self) -> PropertyChanged<Vec<(&str, TextureSampler)>>
[src]
fn transparency(&self) -> PropertyChanged<MaterialTransparency>
[src]
fn program_settings(&self) -> PropertyChanged<ProgramSettings>
[src]
impl<M: PbrMaterial> Material for M
[src]
impl<M: PbrMaterial> Material for M
[src]