]> git.jsancho.org Git - c-irrlicht.git/blobdiff - include/S3DVertex.h
Draw vertex primitive list
[c-irrlicht.git] / include / S3DVertex.h
index 7d28d833940a0a4d271e26d60a91000b71345b63..ca03a084f586720b70a038fae61195a9fffca304 100644 (file)
 #include "vector2d.h"
 #include "vector3d.h"
 
+//! Enumeration for all vertex types there are.
+typedef enum
+  {
+   //! Standard vertex type used by the Irrlicht engine, video::S3DVertex.
+   irr_video_EVT_STANDARD = 0,
+
+   //! Vertex with two texture coordinates, video::S3DVertex2TCoords.
+   /** Usually used for geometry with lightmaps or other special materials. */
+   irr_video_EVT_2TCOORDS,
+
+   //! Vertex with a tangent and binormal vector, video::S3DVertexTangents.
+   /** Usually used for tangent space normal mapping. */
+   irr_video_EVT_TANGENTS
+  } irr_video_E_VERTEX_TYPE;
+
 typedef struct
 {
   irr_core_vector3df pos;