forked from Dynamitos/Seele
this sucks, but there is hope
This commit is contained in:
1 parent
a27e280ab8
commit
acc976fe84
30 files changed
+279
-192
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user