computeMaterialEquality
computeMaterialEquality(a, b) ⇒ boolean
NOTE: does not do deep comparison on textures, only checks the IDs
Kind: global function
Param | Type |
---|---|
a | Material | MeshStandardMaterial | MeshDepthMaterial | MeshMatcapMaterial |
b | Material | MeshStandardMaterial | MeshDepthMaterial | MeshMatcapMaterial |