Struct amethyst_renderer::MaterialDefaults [−][src]
pub struct MaterialDefaults(pub Material);
A resource providing default textures for Material
.
These will be be used by the renderer in case a texture
handle points to a texture which is not loaded already.
Additionally, you can use it to fill up the fields of
Material
you don't want to specify.
Trait Implementations
impl Clone for MaterialDefaults
[src]
impl Clone for MaterialDefaults
fn clone(&self) -> MaterialDefaults
[src]
fn clone(&self) -> MaterialDefaults
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for MaterialDefaults
impl Send for MaterialDefaults
impl Sync for MaterialDefaults
impl Sync for MaterialDefaults