Example #1
0
 static extern void sfShader_setBvec4Uniform(IntPtr shader, string name, Glsl.Bvec4 vector);
Example #2
0
 ////////////////////////////////////////////////////////////
 /// <summary>
 /// Specify value for <c>bvec4</c> uniform
 /// </summary>
 /// <param name="name">Name of the uniform variable in GLSL</param>
 /// <param name="vector">Value of the bvec4 vector</param>
 ////////////////////////////////////////////////////////////
 public void SetUniform(string name, Glsl.Bvec4 vector)
 {
     sfShader_setBvec4Uniform(CPointer, name, vector);
 }