MaterialResource

Type Alias MaterialResource 

Source
pub type MaterialResource = Resource<Material>;
Expand description

Material resource is a material instance that can be used across multiple objects. It is useful when you need to have multiple objects that have the same material.

Material resource is also tells a renderer that this material can be used for efficient rendering - the renderer will be able to optimize rendering when it knows that multiple objects share the same material.

Aliased Typeยง

pub struct MaterialResource { /* private fields */ }