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:
- Compiling and allocating a shader in the LUA script.
- Using that shader outside the lua script in some Gem stuff.
- 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