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