UnloadMaterial method

void UnloadMaterial(
  1. Material material
)

Unload material from GPU memory (VRAM)

Implementation

void UnloadMaterial(
  Material material,
) => run(
  () => _debugLabels.UnloadMaterial(material),
  () => _flat.UnloadMaterial(
    material,
  ),
);