sg-engine icon indicating copy to clipboard operation
sg-engine copied to clipboard

Scene graph - extract models and just use identifiers

Open dwerner opened this issue 8 years ago • 0 comments

Going with a scene graph that uses Identity in place of actual meshes, Renderers could look up assets loaded by a referenced Identity. This could ease coupling of the renderer to the scene graph's loaded state.

Renderers should still be responsible for caching buffers, etc, internally, but perhaps now that we have multiple rendering modules, we should look at lifecycle management for renderers: State::on_render_load and State::on_render_unload should be specific to each renderer.

dwerner avatar Jun 04 '17 22:06 dwerner