this sucks, but there is hope

This commit is contained in:
Dynamitos
2024-04-20 21:35:43 +02:00
parent a27e280ab8
commit acc976fe84
30 changed files with 279 additions and 192 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ namespace Metal {
DECLARE_REF(Graphics)
class Buffer {
public:
Buffer(PGraphics graphics, uint64 size, void *data, bool dynamic);
Buffer(PGraphics graphics, uint64 size, void *data, bool dynamic, const std::string& name);
virtual ~Buffer();
MTL::Buffer *getHandle() const { return buffers[currentBuffer]; }
uint64 getSize() const { return size; }
@@ -83,4 +83,4 @@ protected:
};
DEFINE_REF(ShaderBuffer)
} // namespace Metal
} // namespace Seele
} // namespace Seele