News
Scenome 22.44 — 11/6/2022
Release details are described below.
- Exporters. Cleaned up resource management in the exporters. Previously there were several resource pools such as <GpuTexturePool> and <GpuMeshPool>. All custom, owning resource pools have been replaced by the <GpuResourcePool>, which uses a std::vector< unique_ptr<Type> >. Access to resource pools by type are implemented by std::vector<GpuMesh*> and similar. The <GpuResourcePool> object and all sub-pools are accessible in the <Application> class.
- Exporters. Resource creation/destruction on the GPU has been moved to <Type>::CreateResourceOnGpu( GpuRender &render ) and <Type>::DestroyResourceOnGpu( GpuRender &render ). This makes it possible to implement clean resource management for each class, rather than having to continuously update resource creation and destruction functions inside the <Application> or <GpuResourcePool> classes.