libdonut  2.3.2
Application framework for cross-platform game development in C++20
Public Attributes | List of all members
donut::obj::FaceVertex Struct Reference

Single vertex of a polygonal Face element. More...

#include <donut/obj.hpp>

Public Attributes

std::uint32_t vertexIndex = 0
 Index of the vertex coordinates in the Scene that define the vertex position. More...
 
std::uint32_t textureCoordinateIndex = 0
 Index of the texture coordinates in the Scene that define the texture coordinates of the vertex. More...
 
std::uint32_t normalIndex = 0
 Index of the normal vector in the Scene that define the vertex normal. More...
 

Detailed Description

Single vertex of a polygonal Face element.

Member Data Documentation

◆ vertexIndex

std::uint32_t donut::obj::FaceVertex::vertexIndex = 0

Index of the vertex coordinates in the Scene that define the vertex position.

◆ textureCoordinateIndex

std::uint32_t donut::obj::FaceVertex::textureCoordinateIndex = 0

Index of the texture coordinates in the Scene that define the texture coordinates of the vertex.

◆ normalIndex

std::uint32_t donut::obj::FaceVertex::normalIndex = 0

Index of the normal vector in the Scene that define the vertex normal.


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