Skylicht Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
Irrlicht
Include
EPrimitiveTypes.h
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
irr
9
{
10
namespace
scene
11
{
12
14
enum
E_PRIMITIVE_TYPE
15
{
17
EPT_POINTS
=0,
18
20
EPT_LINE_STRIP
,
21
23
EPT_LINE_LOOP
,
24
26
EPT_LINES
,
27
30
EPT_TRIANGLE_STRIP
,
31
34
EPT_TRIANGLE_FAN
,
35
37
EPT_TRIANGLES
,
38
40
EPT_POINT_SPRITES
41
};
42
43
}
// end namespace scene
44
}
// end namespace irr
45
46
#endif
47
irr::scene
All scene management can be found in this namespace: Mesh loading, special scene nodes like octrees a...
Definition
CIndexBuffer.h:13
irr::scene::E_PRIMITIVE_TYPE
E_PRIMITIVE_TYPE
Enumeration for all primitive types there are.
Definition
EPrimitiveTypes.h:15
irr::scene::EPT_LINES
@ EPT_LINES
Every two vertices are connected creating n/2 lines.
Definition
EPrimitiveTypes.h:26
irr::scene::EPT_POINTS
@ EPT_POINTS
All vertices are non-connected points.
Definition
EPrimitiveTypes.h:17
irr::scene::EPT_TRIANGLES
@ EPT_TRIANGLES
Explicitly set all vertices for each triangle.
Definition
EPrimitiveTypes.h:37
irr::scene::EPT_LINE_STRIP
@ EPT_LINE_STRIP
All vertices form a single connected line.
Definition
EPrimitiveTypes.h:20
irr::scene::EPT_TRIANGLE_FAN
@ EPT_TRIANGLE_FAN
Definition
EPrimitiveTypes.h:34
irr::scene::EPT_TRIANGLE_STRIP
@ EPT_TRIANGLE_STRIP
Definition
EPrimitiveTypes.h:30
irr::scene::EPT_POINT_SPRITES
@ EPT_POINT_SPRITES
The single vertices are expanded to quad billboards on the GPU.
Definition
EPrimitiveTypes.h:40
irr::scene::EPT_LINE_LOOP
@ EPT_LINE_LOOP
Just as LINE_STRIP, but the last and the first vertex is also connected.
Definition
EPrimitiveTypes.h:23
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition
Skylicht.h:33
Generated by
1.17.0