Add 'staging' buffer data usage enum.

This commit is contained in:
Alex Szpakowski
2021-12-28 12:49:33 -04:00
parent 52101b2563
commit bfcf025ef7
6 changed files with 16 additions and 7 deletions
+1 -3
View File
@@ -61,9 +61,7 @@ public:
private:
bool load(const void *initialdata);
void unmapStatic(size_t offset, size_t size);
void unmapStream();
bool supportsOrphan() const;
BufferUsage mapUsage = BUFFERUSAGE_VERTEX;
GLenum target = 0;