mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 20:18:47 +02:00
AA branch: added ImDrawData::DeIndexAllBuffers() helper (#254)
This commit is contained in:
3
imgui.h
3
imgui.h
@ -1095,6 +1095,9 @@ struct ImDrawData
|
||||
int cmd_lists_count;
|
||||
int total_vtx_count; // For convenience, sum of all cmd_lists vtx_buffer.size()
|
||||
int total_idx_count; // For convenience, sum of all cmd_lists idx_buffer.size()
|
||||
|
||||
// Functions
|
||||
void DeIndexAllBuffers(); // For backward compatibility: convert all buffers from indexed to de-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering!
|
||||
};
|
||||
|
||||
// Load and rasterize multiple TTF fonts into a same texture.
|
||||
|
Reference in New Issue
Block a user