Represents a vertex for a UI element. More...
#include <UIVertex.hpp>
Public Attributes | |
| glm::vec2 | position |
| x, y (pixel coordinates) | |
| glm::vec2 | uv |
| texture coordinates | |
| glm::vec4 | color |
| rgba | |
| float | texIndex |
| texture array index (-1 for solid color) | |
Represents a vertex for a UI element.
Definition at line 12 of file UIVertex.hpp.
| glm::vec4 vex::UIVertex::color |
rgba
Definition at line 18 of file UIVertex.hpp.
| glm::vec2 vex::UIVertex::position |
x, y (pixel coordinates)
Definition at line 14 of file UIVertex.hpp.
| float vex::UIVertex::texIndex |
texture array index (-1 for solid color)
Definition at line 20 of file UIVertex.hpp.
| glm::vec2 vex::UIVertex::uv |
texture coordinates
Definition at line 16 of file UIVertex.hpp.