Cleaning up shutdown

This commit is contained in:
Confideo-IOM
2026-08-17 21:44:00 +01:00
parent 139fb149b2
commit 282243a16b
89 changed files with 2112 additions and 855 deletions
@@ -0,0 +1,32 @@
#ifndef HYDRADELETETEXTURETASK
#define HYDRADELETETEXTURETASK
#include "../HydraTask.h"
#include "../../engine/HydraEngine.h"
#include "../../buffer/HydraTextureBufferManager.h"
class HydraDeleteTextureTask : public HydraTask
{
private:
HydraID m_texture_id;
protected:
public:
virtual void Process() override
{
GetEngine()->TextureBufferManager()->DeleteTexture(m_texture_id);
}
void Initialise(HydraID texture_id)
{
m_texture_id = texture_id;
}
};
#endif /* HYDRADELETETEXTURETASK */