GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::imgui::GraphicalUserInterface::Vertex Struct Reference

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.

Detailed Description

Data layout for the attributes of a single vertex of a GUI.

Meets the requirements of the grem::graphics::mesh_vertex concept.

Member Data Documentation

◆ vertexPosition

vec2 grem::imgui::GraphicalUserInterface::Vertex::vertexPosition

Position relative to the top left of the viewport, in pixels.

◆ vertexTextureCoordinates

vec2 grem::imgui::GraphicalUserInterface::Vertex::vertexTextureCoordinates

Texture UV coordinates that map to this vertex.

◆ vertexColor

u8vec4norm grem::imgui::GraphicalUserInterface::Vertex::vertexColor

Tint color of this vertex, sRGB-encoded.


The documentation for this struct was generated from the following file: