We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aaecb9 commit 54c1107Copy full SHA for 54c1107
src/engine/renderer/gl_shader.h
@@ -375,6 +375,7 @@ class GLUniform {
375
_shader->RegisterUniform( this );
376
}
377
378
+ // Returns true if the arg is different than cached value, or if the memory used for this uniform is part of the material buffer or push buffer
379
bool CacheValue( const void* value ) {
380
uint32_t* currentValue;
381
0 commit comments