Skip to main content

append_material

Function append_material 

Source
pub fn append_material(
    ctx: &mut PipelineContext<'_>,
    material: Material,
) -> MaterialHandle
Expand description

Install material into the world’s material table and return its handle. A material is a data resource: its clamped parameters are the whole entry.