issues
search
FacoBackup
/
pine-engine
pine-engine
5
stars
0
forks
source link
Resources architecture
#26
Closed
FacoBackup
closed
2 months ago
FacoBackup
commented
2 months ago
Architecture
[x] No implementations of shaders
[x] Everything is a "Resource" instance
[x] Common APIs for every resource through service
[x] Unified service implementation
[x] Multiple repository implementations (common interface)
[x] Based on unique resource ID and their type, a corresponding repository should be called
[x] Unified garbage collection architecture based on "last used" and resources "max timeout since last use"
[x] Unified binding and unbinding
[x] Keep track of last bound resource of same type
[x] No static meshes
[x] Services should not be beans (Access to resource services through constructor)
Resource types
Mesh
Shader
Material (Points to shader and textures)
Texture
Terrain (Points to mesh and Texture)
Audio
UI
Loaded resources view showing last use and type
Architecture
Resource types
UI