VEX Engine
Retro looking game engine made in vulkan mostly because i wanted to understand it better.
Loading...
Searching...
No Matches
vex::Vertex Struct Reference

Vertex structure for mesh data. More...

#include <Mesh.hpp>

Public Attributes

glm::vec3 position
glm::vec3 normal
glm::vec2 uv = glm::vec2(-100000.0f)
 UV coordinates for texture mapping but initialized to (-100000, -100000) for shader use. If loaded model doesnt update it engine knows it is not textured.

Detailed Description

Vertex structure for mesh data.

Definition at line 25 of file Mesh.hpp.

Member Data Documentation

◆ normal

glm::vec3 vex::Vertex::normal

Definition at line 27 of file Mesh.hpp.

◆ position

glm::vec3 vex::Vertex::position

Definition at line 26 of file Mesh.hpp.

◆ uv

glm::vec2 vex::Vertex::uv = glm::vec2(-100000.0f)

UV coordinates for texture mapping but initialized to (-100000, -100000) for shader use. If loaded model doesnt update it engine knows it is not textured.

Definition at line 29 of file Mesh.hpp.


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