How to send matrices to GLSL uniform variables

梶本 裕介 <[email protected]> Fri, 24 Aug 2012 01:32:44 +0900
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
Hi everyone,

In OpenGL 3.2, there is no fixed pipeline functionalities.
So I would like to send my model-view-projection matrix to GLSL through an uniform variable.
But I seem that there is no glUniformMatrix* family in HOpenGL.
(http://hackage.haskell.org/packages/archive/OpenGL/2.5.0.0/doc/html/Graphics-Rendering-OpenGL-GL-Shaders.html)
How can I achieve this?