Exemplo n.º 1
0
 static extern void sfShader_setIvec2Uniform(IntPtr shader, string name, Glsl.Ivec2 vector);
Exemplo n.º 2
0
 ////////////////////////////////////////////////////////////
 /// <summary>
 /// Specify value for <c>ivec2</c> uniform
 /// </summary>
 /// <param name="name">Name of the uniform variable in GLSL</param>
 /// <param name="vector">Value of the ivec2 vector</param>
 ////////////////////////////////////////////////////////////
 public void SetUniform(string name, Glsl.Ivec2 vector)
 {
     sfShader_setIvec2Uniform(CPointer, name, vector);
 }