this sucks, but there is hope
This commit is contained in:
@@ -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