2024-02-25 22:01:20 +01:00
|
|
|
#pragma once
|
2023-10-03 20:37:00 +02:00
|
|
|
|
|
|
|
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
|