Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
Loading...
Searching...
No Matches
ToyMaker::BuiltinVertexData Struct Reference

The vertex data used by all this engine's in-built shader program's vertex shaders. More...

#include <vertex.hpp>

Public Attributes

glm::vec4 mPosition
 The position of the vertex (normally with w set to 1.f).
 
glm::vec4 mNormal
 The normal vector to the vertex (with w set to 0.f)
 
glm::vec4 mTangent
 The tangent vector to the vertex (with w set to 0.f)
 
glm::vec4 mColor {1.f}
 This vertex's color, where each color component is a value between 0.f and 1.f.
 
glm::vec2 mUV1
 The UV coordinates corresponding to this vertex, with coordinates pointing into the first texture set used by its model.
 
glm::vec2 mUV2
 (currently unused) Coordinates pointing into the second texture set used by this vertex's owning model.
 
glm::vec2 mUV3
 (currently unused) Coordinates pointing into the third texture set used by this vertex's owning model.
 

Detailed Description

The vertex data used by all this engine's in-built shader program's vertex shaders.

Member Data Documentation

◆ mUV2

glm::vec2 ToyMaker::BuiltinVertexData::mUV2

(currently unused) Coordinates pointing into the second texture set used by this vertex's owning model.

See also
mUV1

◆ mUV3

glm::vec2 ToyMaker::BuiltinVertexData::mUV3

(currently unused) Coordinates pointing into the third texture set used by this vertex's owning model.

See also
mUV1

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