[Haskell-cafe] Loading a texture in OpenGL

Clark Gaebel cgaebel at csclub.uwaterloo.ca
Mon Feb 6 21:00:02 CET 2012


Using the OpenGL package on Hackage, how do I load a texture from an array?

In the red book[1], I see their code using glGenTextures and glBindTexture,
but I can't find these in the documentation. Are there different functions
I should be calling?

[1] http://glprogramming.com/red/chapter09.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120206/9fc43092/attachment.htm>


More information about the Haskell-Cafe mailing list