Hi Ian,

I don't think I've ever had to use it before, but you usually give the program location and the variable location. So it would be something like this:
value = glGetUniformfv(programloc, varloc)

Hope this helps.


On 6/6/10 7:30 , Ian Mallett wrote:

In trying to debug something, I'm trying to use glGetUniformfv, which I've never used before.  It demands three arguments, and in the documentation a pointer is supposed to be passed.  In Python, such code is typically replaced with a "___ =":


This does not work.  What to do?

------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net _______________________________________________ PyOpenGL-Users mailing list PyOpenGL-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyopengl-users