Razish / xsngine

C++/SDL2/OpenGL engine for low latency games
MIT License
11 stars 6 forks source link

Add: generic resource manager #41

Open Razish opened 9 years ago

Razish commented 9 years ago

e.g. registering shaders, textures, meshes, materials.

Templated, inherited or handle-based? std::shared_ptr to indicate ownership? manual ref-count? resources will be shared

need to discern between networked resources and local resource handles, i.e. server may indicate a material is being used on an entity, which correlates to multiple resources on the client?