SetUniformMatrix4() публичный Метод

public SetUniformMatrix4 ( string uniformName, float m ) : int
uniformName string
m float
Результат int
Пример #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="program"></param>
 public override void SetUniform(ShaderProgram program)
 {
     this.Location = program.SetUniformMatrix4(VarName, this.value.ToArray());
 }
Пример #2
0
 public override void SetUniform(ShaderProgram program)
 {
     program.SetUniformMatrix4(VarName, this.value);
 }
Пример #3
0
 public override void SetUniform(ShaderProgram program)
 {
     this.Location = program.SetUniformMatrix4(VarName, this.value.to_array());
 }