Anecoz / AneRend

Prototyping Vulkan engine
16 stars 1 forks source link

Make textures into assets #28

Closed Anecoz closed 1 year ago

Anecoz commented 1 year ago

Currently textures kind of live inside of render::asset::Material which is quite limiting. Textures should be assets of their own, with their own uuids. Materials will then reference the textures using Uuids like everything else.

Need to add all the necessary calls to Scene/ScenePager/AssetUpdate and manage them in the renderer, including a GPU id map.