Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | List of all members
G3D::ParseOBJ::Index Class Reference

Set of indices into the vertex attribute arrays. More...

Public Member Functions

 Index ()
 

Public Attributes

int normal
 0-based index into normalArray More...
 
int texCoord
 0-based index into texCoord0Array (and texCoord1Array if it exists) More...
 
int vertex
 0-based index into vertexArray More...
 

Detailed Description

Set of indices into the vertex attribute arrays.

Note that OBJ format allows a separate index for each attribute, unlike OpenGL.

Constructor & Destructor Documentation

◆ Index()

G3D::ParseOBJ::Index::Index ( )
inline

Member Data Documentation

◆ normal

int G3D::ParseOBJ::Index::normal

0-based index into normalArray

Referenced by HashTrait< G3D::ParseOBJ::Index >::hashCode().

◆ texCoord

int G3D::ParseOBJ::Index::texCoord

0-based index into texCoord0Array (and texCoord1Array if it exists)

Referenced by HashTrait< G3D::ParseOBJ::Index >::hashCode().

◆ vertex

int G3D::ParseOBJ::Index::vertex

0-based index into vertexArray

Referenced by HashTrait< G3D::ParseOBJ::Index >::hashCode().


documentation generated on Wed Nov 24 2021 08:01:58 using doxygen 1.8.15