Untitled Game engine no.5  1.0
Public Member Functions | Public Attributes | List of all members
Engine::Vertex Struct Reference

Public Member Functions

void print ()
 

Public Attributes

glm::vec3 pos
 Position of the vertex in clip space.
 
glm::vec4 color {1, 1, 1, 1}
 Color of the vertex.
 
glm::vec2 tex_pos {}
 Texture pos of this vertex.
 
glm::vec2 tex_size {}
 Texture size of this vertex.
 
float tex_id {}
 Which texture this uses, 0 is reserved for none.
 
glm::mat4 trans {}
 Transform of the mesh.
 

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