sg_glOpenGL scene graph rendering |
|
local SG = require'sg_gl'
local sg = SG:new([cache])
Create a new scene graph render to render OpenGL scene graph objects on the currently active OpenGL context.
<object> = {
<group> | ...
}
<group> =
type = 'group', <object>, ...
sg:free()
Free the render and any associated resources.