Saga3D API Documentation  1.0-RC4
EPrimitiveTypes.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt
2 // This file is part of the "Irrlicht Engine".
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
4 
5 #ifndef __E_PRIMITIVE_TYPES_H_INCLUDED__
6 #define __E_PRIMITIVE_TYPES_H_INCLUDED__
7 
8 namespace saga
9 {
10 namespace scene
11 {
12 
14  enum class E_PRIMITIVE_TYPE
15  {
17  POINTS,
18 
20  LINE_STRIP,
21 
23  LINE_LOOP,
24 
26  LINES,
27 
31 
35 
37  TRIANGLES,
38 
41  QUAD_STRIP,
42 
46  QUADS,
47 
51  POLYGON,
52 
55  };
56 
57 } // namespace video
58 } // namespace saga
59 
60 #endif
61 
saga::scene::E_PRIMITIVE_TYPE::POINTS
@ POINTS
All vertices are non-connected points.
saga::scene::E_PRIMITIVE_TYPE::LINE_LOOP
@ LINE_LOOP
Just as LINE_STRIP, but the last and the first vertex is also connected.
saga::scene::E_PRIMITIVE_TYPE::TRIANGLES
@ TRIANGLES
Explicitly set all vertices for each triangle.
saga::scene::E_PRIMITIVE_TYPE::POINT_SPRITES
@ POINT_SPRITES
The single vertices are expanded to quad billboards on the GPU.
saga::scene::E_PRIMITIVE_TYPE::TRIANGLE_FAN
@ TRIANGLE_FAN
saga::scene::E_PRIMITIVE_TYPE::QUADS
@ QUADS
saga::scene::E_PRIMITIVE_TYPE::TRIANGLE_STRIP
@ TRIANGLE_STRIP
saga::scene::E_PRIMITIVE_TYPE::LINES
@ LINES
Every two vertices are connected creating n/2 lines.
saga::scene::E_PRIMITIVE_TYPE::LINE_STRIP
@ LINE_STRIP
All vertices form a single connected line.
saga::scene::E_PRIMITIVE_TYPE::QUAD_STRIP
@ QUAD_STRIP
saga::scene::E_PRIMITIVE_TYPE::POLYGON
@ POLYGON
saga::scene::E_PRIMITIVE_TYPE
E_PRIMITIVE_TYPE
Enumeration for all primitive types there are.
Definition: EPrimitiveTypes.h:14
saga
Definition: aabbox3d.h:11