Re: [PyOpenGL-Users] glGetUniformfv
Brought to you by:
mcfletch
From: Gijs <in...@bs...> - 2010-06-06 08:31:45
|
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. Regards, Gijs On 6/6/10 7:30 , Ian Mallett wrote: > Hi, > > 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 "___ =": > > value=glGetUniformfv(programlocation) > > This does not work. What to do? > > Ian > > > ------------------------------------------------------------------------------ > 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 > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users > |