Beispiel #1
0
 internal SceneShaderCommand(ShaderType shaderType, string value) : base(shaderType.GetName(),
                                                                         value, s => s.GetScript(shaderType), (s, v) => s.SetScript(shaderType, v))
 {
 }
Beispiel #2
0
 internal TraceShaderCommand(int index, ShaderType shaderType, string value) : base(index, shaderType.GetName(),
                                                                                    value, t => t.GetScript(shaderType), (t, v) => t.SetScript(shaderType, v))
 {
 }