NGL  6.5
The NCCA Graphics Library
ngl::IndexRef Class Reference

a class to hold the index into vert / norm and tex list for creating the VBO data structure More...

#include <AbstractMesh.h>

+ Collaboration diagram for ngl::IndexRef:

Public Member Functions

 IndexRef (uint32_t _v, uint32_t _n, uint32_t _t) noexcept
 ctor to set the data More...
 

Public Attributes

uint32_t m_v
 index into the vert list More...
 
uint32_t m_n
 index into the nornmal list More...
 
uint32_t m_t
 index into the texture list More...
 

Detailed Description

a class to hold the index into vert / norm and tex list for creating the VBO data structure

Definition at line 72 of file AbstractMesh.h.

Constructor & Destructor Documentation

ngl::IndexRef::IndexRef ( uint32_t  _v,
uint32_t  _n,
uint32_t  _t 
)
inlinenoexcept

ctor to set the data

Parameters
[in]_vthe vert index
[in]_nthe normal index
[in]_tthe texture index

Definition at line 94 of file AbstractMesh.h.

Member Data Documentation

uint32_t ngl::IndexRef::m_n

index into the nornmal list

Definition at line 83 of file AbstractMesh.h.

uint32_t ngl::IndexRef::m_t

index into the texture list

Definition at line 87 of file AbstractMesh.h.

uint32_t ngl::IndexRef::m_v

index into the vert list

Definition at line 79 of file AbstractMesh.h.


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