VVISF & VVGL
|
Creating an ISFScene
VVISF::ISFScene is a subclass of VVGL::GLScene, and as such shares its facilities for rendering to texture, simple resizing, etc. Likewise, creating VVISF::ISFScene has the same semantics as creating a VVGL::GLScene- if you don't explicitly provide a VVGL::GLContext for it to use on creation, it will create its own context in the global buffer pool's sharegroup.
Loading an ISF file and rendering it to a GL texture
Once you have an ISFScene, you can render it to a texture using any of the functions inherited from VVGL::GLScene. ISFScene::createAndRenderABuffer() is perhaps the simplest function- if you have more specific needs, consult the documentation for ISFScene.