deallocateMaterial method

void deallocateMaterial(
  1. Material material
)

Implementation

void deallocateMaterial(Material material) {
  releaseMaterialProgramReferences(material);

  properties.remove(material);
}