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

Data layout for the attributes of a single vertex of a 2D model mesh. More...

#include <GREM/graphics_2d/Model2D.hpp>

Public Attributes

vec2 vertexPosition
 Position relative to the model origin.
vec2 vertexTextureCoordinates
 Texture UV coordinates that map to this vertex.

Detailed Description

Data layout for the attributes of a single vertex of a 2D model mesh.

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

Member Data Documentation

◆ vertexPosition

vec2 grem::graphics::Model2D::Vertex::vertexPosition

Position relative to the model origin.

◆ vertexTextureCoordinates

vec2 grem::graphics::Model2D::Vertex::vertexTextureCoordinates

Texture UV coordinates that map to this vertex.


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