Make MaterialSet.AllMaterials faster
Add an alternative to AllMaterials that produces less garbage
Fix some unnecessary garbage generation in RenderManager