Function MeshInstance.setSurfaceMaterial

Sets the Material for a surface of the Mesh resource.

void setSurfaceMaterial (
  const(long) surface,
  Material material
) nothrow @nogc;