AUI Framework  master
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
gl::Vao::Buffer Struct Reference

Signals and public fields#

GLuint handle = 0
 
uint32_t signature = 0
 
const char * lastModifierKey = nullptr
 String key of the last object who has modified the buffer.
 

Member Data Documentation#

◆ lastModifierKey#

const char* gl::Vao::Buffer::lastModifierKey = nullptr

The string key is used to avoid excess OpenGL buffer modifications by comparing the pointer lastModifiedKey and the new one passed to insertIfKeyMismatches. The string stored on this address is have not, but is expected to live during the whole program lifetime (use const char* string literal constants). The string value can be used for debug purposes.