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