Example #1
0
 public UniformColor(ShaderProgram program, string name)
     : base(program, name)
 {
 }
Example #2
0
 public static void Set(ShaderProgram program, string location, Color value)
 => new UniformColor(program, location, value);
Example #3
0
 public static Color Get(ShaderProgram program, string location)
 => new UniformColor(program, location).Value;
Example #4
0
 public UniformColor(ShaderProgram program, string name, Color value)
     : base(program, name)
 {
     this.Value = value;
 }