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

Holds vertex informations. More...

#include <FaceInfos.hpp>

Public Attributes

int m_index { -1 }
 
castor::Array< float, 3 > m_normal { { 0.0f, 0.0f, 0.0f } }
 
castor::Array< float, 2 > m_texCoords { { 0.0f, 0.0f } }
 
bool m_hasNormal { false }
 
bool m_hasTexCoords { false }
 

Detailed Description

Holds vertex informations.

Member Data Documentation

◆ m_hasNormal

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

Tells the vertex has a normal.

◆ m_hasTexCoords

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

Tells the vertex has UV.

◆ m_index

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

Vertex index.

◆ m_normal

castor::Array< float, 3 > castor3d::FaceInfos::Vertex::m_normal { { 0.0f, 0.0f, 0.0f } }

Vertex normal.

◆ m_texCoords

castor::Array< float, 2 > castor3d::FaceInfos::Vertex::m_texCoords { { 0.0f, 0.0f } }

Vertex UV.


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