morganbengtsson / mos

Lightweight game engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unified Node basted structured

morganbengtsson opened this issue · comments

It might be a good idea to have a unified node basted structure for audio and graphics. Probably with a Node class that contains a std::variant corresponding to gfx or audio data. Then This is traversed with a visitor for each system. The audio renderer and the gfx renderer.