[GEM-dev] Lua an GEM

Chris McCormick chris at mccormick.cx
Wed Jan 16 02:12:08 CET 2008


On Sun, Jan 13, 2008 at 11:18:26AM -0800, Wesley Smith wrote:
> 1) How is a Lua script associated with an OpenGL context within GEM?
> 2) How do Lua scripts get notifications about the
> opening/closing/modification of OpenGL contexts within GEM?
> 3) Are there Lua functions or C functions for these signals?

I might be wrong, but my impression is that this is all to do with order
of execution (which is why Gem can't really be considered 'dataflow').
You need to use [t a a ...] objects to specify where in the chain your
lua script is executed, and that will be your context.

Best,

Chris.

-------------------
http://mccormick.cx




More information about the GEM-dev mailing list