Symphony Of Empires
Eng3D::MeshData< V, T, C > Struct Template Reference

#include <mesh.hpp>

Public Member Functions

constexpr MeshData ()=default
 
constexpr MeshData (V _vert, T _tex)
 
constexpr MeshData (V _vert, T _tex, C _color)
 
 ~MeshData ()=default
 
 MeshData (const MeshData &)=delete
 
 MeshData (MeshData &&) noexcept=default
 
MeshDataoperator= (const MeshData &)=default
 

Public Attributes

vert
 
tex
 
C color
 

Static Public Attributes

constexpr static bool has_color = true
 

Detailed Description

template<typename V = glm::vec3, typename T = glm::vec2, typename C = void>
struct Eng3D::MeshData< V, T, C >

Definition at line 94 of file mesh.hpp.

Constructor & Destructor Documentation

◆ MeshData() [1/5]

template<typename V = glm::vec3, typename T = glm::vec2, typename C = void>
constexpr Eng3D::MeshData< V, T, C >::MeshData ( )
constexprdefault

◆ MeshData() [2/5]

template<typename V = glm::vec3, typename T = glm::vec2, typename C = void>
constexpr Eng3D::MeshData< V, T, C >::MeshData ( _vert,
_tex 
)
inlineconstexpr

Definition at line 98 of file mesh.hpp.

◆ MeshData() [3/5]

template<typename V = glm::vec3, typename T = glm::vec2, typename C = void>
constexpr Eng3D::MeshData< V, T, C >::MeshData ( _vert,
_tex,
C  _color 
)
inlineconstexpr

Definition at line 105 of file mesh.hpp.

◆ ~MeshData()

template<typename V = glm::vec3, typename T = glm::vec2, typename C = void>
Eng3D::MeshData< V, T, C >::~MeshData ( )
default

◆ MeshData() [4/5]

template<typename V = glm::vec3, typename T = glm::vec2, typename C = void>
Eng3D::MeshData< V, T, C >::MeshData ( const MeshData< V, T, C > &  )
delete

◆ MeshData() [5/5]

template<typename V = glm::vec3, typename T = glm::vec2, typename C = void>
Eng3D::MeshData< V, T, C >::MeshData ( MeshData< V, T, C > &&  )
defaultnoexcept

Member Function Documentation

◆ operator=()

template<typename V = glm::vec3, typename T = glm::vec2, typename C = void>
MeshData& Eng3D::MeshData< V, T, C >::operator= ( const MeshData< V, T, C > &  )
default

Member Data Documentation

◆ color

template<typename V = glm::vec3, typename T = glm::vec2, typename C = void>
C Eng3D::MeshData< V, T, C >::color

Definition at line 119 of file mesh.hpp.

◆ has_color

template<typename V = glm::vec3, typename T = glm::vec2, typename C = void>
constexpr static bool Eng3D::MeshData< V, T, C >::has_color = true
staticconstexpr

Definition at line 95 of file mesh.hpp.

◆ tex

template<typename V = glm::vec3, typename T = glm::vec2, typename C = void>
T Eng3D::MeshData< V, T, C >::tex

Definition at line 118 of file mesh.hpp.

◆ vert

template<typename V = glm::vec3, typename T = glm::vec2, typename C = void>
V Eng3D::MeshData< V, T, C >::vert

Definition at line 117 of file mesh.hpp.


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