$darkmode
Persistent state for the UI system. More...
#include <ui.h>
Data Fields | |
| GLuint | texture |
| Shader * | shader |
| Shader * | spinner_shader |
| GLuint | vao |
| GLuint | vbo |
| GlyphInfo | cdata [96] |
| float | font_size |
| UIVertex | batch_vertices [8192] |
| int | batch_count |
| int | current_screen_width |
| int | current_screen_height |
| int | batch_active |
| GLuint | current_texture |
Persistent state for the UI system.
| int UIContext::batch_active |
Is a batch currently active?
| int UIContext::batch_count |
Current vertex count in batch
| UIVertex UIContext::batch_vertices[8192] |
Batch buffer
| GlyphInfo UIContext::cdata[96] |
Metrics for ASCII 32 - 126.
| int UIContext::current_screen_height |
Screen height for current batch
| int UIContext::current_screen_width |
Screen width for current batch
| GLuint UIContext::current_texture |
Currently bound texture in the batch
| float UIContext::font_size |
Global scaling factor.
| Shader* UIContext::shader |
Main UI shader.
| Shader* UIContext::spinner_shader |
Specialized shader for loading animations.
| GLuint UIContext::texture |
Font atlas texture handle.
| GLuint UIContext::vao |
| GLuint UIContext::vbo |
Geometry buffers.