![]() |
vkmEngine 1.0.0
A C++ game engine · vkmengine.com
|
One vertex of the UI's 2D triangle stream. More...
#include <ui_draw_data.h>
One vertex of the UI's 2D triangle stream.
pos is screen pixels, top-left origin; color is straight RGBA. A solid carries its quad's shape on every vertex for the fragment stage. Glyphs (UI_TEXT_MARK) and the image flag are per-vertex, so solids, text and pictures share a draw call.