EVertexAttributes.h 548 B

12345678910111213141516171819202122232425262728293031323334
  1. #pragma once
  2. namespace irr
  3. {
  4. namespace video
  5. {
  6. //! Enumeration for all vertex attributes there are.
  7. enum E_VERTEX_ATTRIBUTES
  8. {
  9. EVA_POSITION = 0,
  10. EVA_NORMAL,
  11. EVA_COLOR,
  12. EVA_TCOORD0,
  13. EVA_TCOORD1,
  14. EVA_TANGENT,
  15. EVA_BINORMAL,
  16. EVA_COUNT
  17. };
  18. //! Array holding the built in vertex attribute names
  19. const char *const sBuiltInVertexAttributeNames[] = {
  20. "inVertexPosition",
  21. "inVertexNormal",
  22. "inVertexColor",
  23. "inTexCoord0",
  24. "inTexCoord1",
  25. "inVertexTangent",
  26. "inVertexBinormal",
  27. 0,
  28. };
  29. } // end namespace video
  30. } // end namespace irr