forked from Dynamitos/Seele
we are leaking lots of memory
This commit is contained in:
1 parent
67b4a533f2
commit
5693802215
14 files changed
+182
-120
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user