makeCopy

open fun makeCopy(): Material

Creates a new instance of this Material.

The new material will have a unique copy of the material parameters that can be changed independently. The getFilamentEngine material resource is immutable and will be shared between instances.