SetUniformMatrix2() public method

public SetUniformMatrix2 ( string uniformName, float m ) : int
uniformName string
m float
return int
Ejemplo n.º 1
0
 public override void SetUniform(ShaderProgram program)
 {
     program.SetUniformMatrix2(VarName, this.value.to_array());
 }
Ejemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="program"></param>
 public override void SetUniform(ShaderProgram program)
 {
     this.Location = program.SetUniformMatrix2(VarName, this.value.ToArray());
 }