示例#1
0
 public ShapeShaderCommand(int index, ShaderType shaderType, string value) : base(
         index,
         shaderType.ShapeShader(),
         value,
         t => t.GetScript(shaderType),
         (t, v) => t.SetScript(shaderType, v))
 {
 }