We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d941a7 commit 36eefa5Copy full SHA for 36eefa5
src/engine/renderer/gl_shader.h
@@ -376,6 +376,7 @@ class GLUniform {
376
_shader->RegisterUniform( this );
377
}
378
379
+ // Returns true if the arg is different than cached value and the memory used for this uniform is not part of the material buffer or push buffer
380
bool CacheValue( const void* value ) {
381
uint32_t* currentValue;
382
0 commit comments