1 // Copyright (C) 2002-2012 Nikolaus Gebhardt
\r
2 // This file is part of the "Irrlicht Engine".
\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
\r
5 #ifndef __E_PRIMITIVE_TYPES_H_INCLUDED__
\r
6 #define __E_PRIMITIVE_TYPES_H_INCLUDED__
\r
13 //! Enumeration for all primitive types there are.
\r
14 enum E_PRIMITIVE_TYPE
\r
16 //! All vertices are non-connected points.
\r
19 //! All vertices form a single connected line.
\r
22 //! Just as LINE_STRIP, but the last and the first vertex is also connected.
\r
25 //! Every two vertices are connected creating n/2 lines.
\r
28 //! After the first two vertices each vertex defines a new triangle.
\r
29 //! Always the two last and the new one form a new triangle.
\r
32 //! After the first two vertices each vertex defines a new triangle.
\r
33 //! All around the common first vertex.
\r
36 //! Explicitly set all vertices for each triangle.
\r
39 //! After the first two vertices each further two vertices create a quad with the preceding two.
\r
40 //! Not supported by Direct3D
\r
43 //! Every four vertices create a quad.
\r
44 //! Not supported by Direct3D
\r
45 //! Deprecated with newer OpenGL drivers
\r
48 //! Just as LINE_LOOP, but filled.
\r
49 //! Not supported by Direct3D
\r
50 //! Deprecated with newer OpenGL drivers
\r
53 //! The single vertices are expanded to quad billboards on the GPU.
\r
57 } // end namespace scene
\r
58 } // end namespace irr
\r