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