sg_gl

OpenGL scene graph rendering

 
 
View on GitHub
Download as .tar.gz
Download as .zip

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.

OpenGL scene graph objects

<object> = {
   <group> | ...
}

<group> =
   type = 'group', <object>, ...

sg:free()

Free the render and any associated resources.

Extensions