2023-10-03 20:37:00 +02:00
|
|
|
#ifndef __E_VERTEX_ATTRIBUTES_H_INCLUDED__
|
|
|
|
#define __E_VERTEX_ATTRIBUTES_H_INCLUDED__
|
|
|
|
|
|
|
|
namespace irr
|
|
|
|
{
|
|
|
|
namespace video
|
|
|
|
{
|
|
|
|
|
|
|
|
//! Enumeration for all vertex attributes there are.
|
|
|
|
enum E_VERTEX_ATTRIBUTES
|
|
|
|
{
|
|
|
|
EVA_POSITION = 0,
|
|
|
|
EVA_NORMAL,
|
|
|
|
EVA_COLOR,
|
|
|
|
EVA_TCOORD0,
|
|
|
|
EVA_TCOORD1,
|
|
|
|
EVA_TANGENT,
|
|
|
|
EVA_BINORMAL,
|
|
|
|
EVA_COUNT
|
|
|
|
};
|
|
|
|
|
|
|
|
//! Array holding the built in vertex attribute names
|
|
|
|
const char* const sBuiltInVertexAttributeNames[] =
|
|
|
|
{
|
|
|
|
"inVertexPosition",
|
|
|
|
"inVertexNormal",
|
|
|
|
"inVertexColor",
|
|
|
|
"inTexCoord0",
|
|
|
|
"inTexCoord1",
|
|
|
|
"inVertexTangent",
|
|
|
|
"inVertexBinormal",
|
|
|
|
0
|
|
|
|
};
|
|
|
|
|
|
|
|
} // end namespace video
|
|
|
|
} // end namespace irr
|
|
|
|
|
2020-01-03 20:05:16 +01:00
|
|
|
#endif //__E_VERTEX_ATTRIBUTES_H_INCLUDED__
|