mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
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:
parent
1e8841e6b5
commit
11d8604d8e
5 changed files with 52 additions and 17 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue