Пример #1
0
 static extern void sfShader_setIvec3Uniform(IntPtr shader, string name, Glsl.Ivec3 vector);
Пример #2
0
 ////////////////////////////////////////////////////////////
 /// <summary>
 /// Specify value for <c>ivec3</c> uniform
 /// </summary>
 /// <param name="name">Name of the uniform variable in GLSL</param>
 /// <param name="vector">Value of the ivec3 vector</param>
 ////////////////////////////////////////////////////////////
 public void SetUniform(string name, Glsl.Ivec3 vector)
 {
     sfShader_setIvec3Uniform(CPointer, name, vector);
 }