Castor3D 0.12.0
Multiplatform 3D engine
Public Attributes | List of all members
castor3d::FaceInfos::Vertex Struct Reference

Holds vertex informations. More...

#include <FaceInfos.hpp>

Collaboration diagram for castor3d::FaceInfos::Vertex:
Collaboration graph
[legend]

Public Attributes

int m_index { -1 }
 
std::array< float, 3 > m_fNormal { { 0.0f, 0.0f, 0.0f } }
 
std::array< float, 2 > m_fTexCoords { { 0.0f, 0.0f } }
 
bool m_bHasNormal { false }
 
bool m_bHasTexCoords { false }
 

Detailed Description

Holds vertex informations.

Member Data Documentation

◆ m_bHasNormal

bool castor3d::FaceInfos::Vertex::m_bHasNormal { false }

Tells the vertex has a normal.

◆ m_bHasTexCoords

bool castor3d::FaceInfos::Vertex::m_bHasTexCoords { false }

Tells the vertex has UV.

◆ m_fNormal

std::array< float, 3 > castor3d::FaceInfos::Vertex::m_fNormal { { 0.0f, 0.0f, 0.0f } }

Vertex normal.

◆ m_fTexCoords

std::array< float, 2 > castor3d::FaceInfos::Vertex::m_fTexCoords { { 0.0f, 0.0f } }

Vertex UV.

◆ m_index

int castor3d::FaceInfos::Vertex::m_index { -1 }

Vertex index.


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