示例#1
0
文件: Shader.cs 项目: yCatDev/Minima
 static extern void sfShader_setMat3Uniform(IntPtr shader, string name, Glsl.Mat3 matrix);
示例#2
0
文件: Shader.cs 项目: yCatDev/Minima
 ////////////////////////////////////////////////////////////
 /// <summary>
 /// Specify value for <c>mat3</c> uniform
 /// </summary>
 /// <param name="name">Name of the uniform variable in GLSL</param>
 /// <param name="matrix">Value of the mat3 matrix</param>
 ////////////////////////////////////////////////////////////
 public void SetUniform(string name, Glsl.Mat3 matrix)
 {
     sfShader_setMat3Uniform(CPointer, name, matrix);
 }