private void PushMaterial(string materialName)
 {
     CurrentMaterial = new Material(materialName);
     _materialLibrary.Push(CurrentMaterial);
 }
예제 #2
0
 public void Push(Material material)
 {
     _materials.Add(material);
 }