Function MeshInstance.getSurfaceMaterialCount

Returns the number of surface materials.

long getSurfaceMaterialCount() nothrow @nogc const;