[Haskell-cafe] Loading a texture in OpenGL

Ben Lippmeier benl at ouroborus.net
Tue Feb 7 04:14:52 CET 2012

On 07/02/2012, at 7:00 AM, Clark Gaebel wrote:

> 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?

The Gloss graphics library has texture support, and the code for drawing them is confined to this module:


Feel free to steal the code from there.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120207/7c982f5e/attachment.htm>

More information about the Haskell-Cafe mailing list