Exemplo n.º 1
0
 public void RemoveShaderCommand(IShaderCommand shaderCommand)
 {
     if (this.commands.Contains(shaderCommand))
     {
         this.commands.Remove(shaderCommand);
     }
 }
Exemplo n.º 2
0
 public void AddShaderCommand(IShaderCommand shaderCommand)
 {
     if (this.commands.Contains(shaderCommand))
     {
         LogTool.Log("Duplicated Shader Command" + shaderCommand.Name, LogLevel.Warning);
         return;
     }
     this.commands.Add(shaderCommand);
 }