Fireworks Engine  v2.0
Lightweight Sandbox Game Engine using OpenGL for additional Customisation and Quick Prototyping
fireworks::graphics::VertexData3D Struct Reference

The vertex structure of a 3D primitive. More...

#include <renderable3d.h>

Public Member Functions

 VertexData3D ()
 
 VertexData3D (glm::vec3 vertex, glm::vec2 uv, float texID, glm::vec4 color)
 

Public Attributes

glm::vec3 vertex
 
glm::vec2 uv
 
float tid
 
glm::vec4 color
 

Detailed Description

The vertex structure of a 3D primitive.

Constructor & Destructor Documentation

◆ VertexData3D() [1/2]

fireworks::graphics::VertexData3D::VertexData3D ( )
inline

◆ VertexData3D() [2/2]

fireworks::graphics::VertexData3D::VertexData3D ( glm::vec3  vertex,
glm::vec2  uv,
float  texID,
glm::vec4  color 
)
inline

Member Data Documentation

◆ color

glm::vec4 fireworks::graphics::VertexData3D::color

◆ tid

float fireworks::graphics::VertexData3D::tid

◆ uv

glm::vec2 fireworks::graphics::VertexData3D::uv

◆ vertex

glm::vec3 fireworks::graphics::VertexData3D::vertex

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