[Feat] (BufferState): Implement BufferSubData.

This commit is contained in:
BZLZHH
2025-05-17 00:19:40 +08:00
parent 71df4bae3c
commit 19e2a5dec2
7 changed files with 41 additions and 1 deletions
+4
View File
@@ -195,6 +195,10 @@ namespace MG_State {
return MG_State_T::bufferState->CommitStorage(target, size, data, usage);
}
GLenum CommitBufferStorageRegion(GLenum target, GLintptr offset, GLsizeiptr size, const void* data) {
return MG_State_T::bufferState->CommitStorageRegion(target, offset, size, data);
}
bool ValidateAllocatedBufferHandle(GLuint buffer) {
return MG_State_T::bufferState->ValidateAllocatedHandle(buffer);
}