MOS
Public Member Functions | Public Attributes | List of all members
mos::gfx::Vertex Class Referencefinal

Vertex structure, supported by the renderer. More...

#include <vertex.hpp>

Public Member Functions

void apply_transform (const glm::mat4 &transform)
 Apply a transformation matrix to the vertex.
 

Public Attributes

glm::vec3 position = glm::vec3(0.0f)
 
glm::vec3 normal = glm::vec3(0.0f)
 
glm::vec3 tangent = glm::vec3(0.0f)
 
glm::vec2 uv = glm::vec2(0.0f)
 Texture coordinate. More...
 

Detailed Description

Vertex structure, supported by the renderer.

Member Data Documentation

◆ uv

glm::vec2 mos::gfx::Vertex::uv = glm::vec2(0.0f)

Texture coordinate.


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