we are leaking lots of memory

This commit is contained in:
Dynamitos
2025-03-04 19:38:03 +09:00
parent 67b4a533f2
commit 5693802215
14 changed files with 182 additions and 120 deletions
+3 -1
View File
@@ -12,12 +12,14 @@ class RenderPass : public Gfx::RenderPass {
virtual ~RenderPass();
void updateRenderPass();
MTL::RenderPassDescriptor* getDescriptor() const { return renderPass; }
const std::string& getName() const { return name; }
private:
PGraphics graphics;
Gfx::PViewport viewport;
MTL::RenderPassDescriptor* renderPass;
std::string name;
};
DEFINE_REF(RenderPass)
} // namespace Metal
} // namespace Seele
} // namespace Seele