Skip to main content

material

Function material 

Source
pub fn material(args: Material) -> Material
Expand description

Public so the cook-side Material data-resource compiler can apply the same clamps: Material left the component registry, so its generated from_args (the usual caller of this validator) no longer runs – cook must call it explicitly before baking the material into its data_bytes.