[Fix] (Diligent/Buffer): Create dynamic buffer in glDraw*.

This commit is contained in:
BZLZHH
2025-06-08 13:35:32 +08:00
parent 848f110658
commit 292c7eeecf
4 changed files with 172 additions and 82 deletions
+1
View File
@@ -18,6 +18,7 @@ public:
bool dirty = false; // TODO: encapsulate this with an public API to RHI
bool isMapped = false;
bool generated = false;
bool isDynamic = false;
GLenum accessMode = GL_READ_WRITE;
GLintptr mapOffset = 0;
GLsizeiptr mapLength = 0;