示例#1
0
 public void RemoveShaderCommand(IShaderCommand shaderCommand)
 {
     if (this.commands.Contains(shaderCommand))
     {
         this.commands.Remove(shaderCommand);
     }
 }
示例#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);
 }