technik / rev

Revolution Engine: A graphics/game engine pet project.
1 stars 1 forks source link

Reloadable resources #18

Closed technik closed 12 years ago

technik commented 13 years ago

Some resources (e.g. shaders and textures) may need to be reloaded. This kind of resources must implement a reload method. This can be useful tfor reloading OpenGL resources when context gets lost or for live edition of content with external tools. For example: you save a texture with photoshop, the Rev editor realises it has changed and automatically tells the game to reload the asset.