ogl device buffer creation

now ogl mirrors dx side with ubo creation and clearing pushed up to the device level.
This commit is contained in:
marauder2k7 2024-03-14 14:23:08 +00:00
parent 1e8841e6b5
commit 11d8604d8e
5 changed files with 52 additions and 17 deletions

View file

@ -111,7 +111,7 @@ public:
/// Called by GFXGLDevice to activate this buffer.
void activate(GFXGLShaderConstBuffer* prevShaderBuffer);
void addBuffer(S32 bufBindingPoint, U32 size);
void addBuffer(const GFXShaderConstDesc desc);
/// Called when the shader this buffer references is reloaded.
void onShaderReload(GFXGLShader* shader);