[GEM-dev] Lua an GEM

Wesley Smith wesley.hoke at gmail.com
Wed Jan 16 03:13:48 CET 2008


> I don't know that much about shaders in Gem (my copy of Gem doesn't have
> the glsl stuff) , but I think I get what you're saying. So you are:
>
> 1. Compiling and allocating a shader in the LUA script.
> 2. Using that shader outside the lua script in some Gem stuff.
> 3. Finished with the shader, but you don't know how to free it's
> resources.

close but not quite
1. Compiling and allocating a shader in the LUA script.
2. Using that shader _inside_ the lua script
3. Finished with the shader, but you don't know how to free it's
resources (this happens when the render window goes away ... I want
that notification)

wes




More information about the GEM-dev mailing list