|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Data layout for the attributes of a single vertex of a GUI. More...
#include <GREM/imgui/GraphicalUserInterface.hpp>
Public Attributes | |
| vec2 | vertexPosition |
| Position relative to the top left of the viewport, in pixels. | |
| vec2 | vertexTextureCoordinates |
| Texture UV coordinates that map to this vertex. | |
| u8vec4norm | vertexColor |
| Tint color of this vertex, sRGB-encoded. | |
Data layout for the attributes of a single vertex of a GUI.
Meets the requirements of the grem::graphics::mesh_vertex concept.
| vec2 grem::imgui::GraphicalUserInterface::Vertex::vertexPosition |
Position relative to the top left of the viewport, in pixels.
| vec2 grem::imgui::GraphicalUserInterface::Vertex::vertexTextureCoordinates |
Texture UV coordinates that map to this vertex.
| u8vec4norm grem::imgui::GraphicalUserInterface::Vertex::vertexColor |
Tint color of this vertex, sRGB-encoded.