Loading...
Searching...
No Matches
EPrimitiveTypes.h
Go to the documentation of this file.
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __E_PRIMITIVE_TYPES_H_INCLUDED__
#define __E_PRIMITIVE_TYPES_H_INCLUDED__
namespace irr
{
namespace scene
{
enum E_PRIMITIVE_TYPE
{
EPT_POINTS=0,
EPT_LINE_STRIP,
EPT_LINE_LOOP,
EPT_LINES,
EPT_TRIANGLE_STRIP,
EPT_TRIANGLE_FAN,
EPT_TRIANGLES,
EPT_QUAD_STRIP,
EPT_QUADS,
EPT_POLYGON,
EPT_POINT_SPRITES
};
} // end namespace scene
} // end namespace irr
#endif
irr::scene
All scene management can be found in this namespace: Mesh loading, special scene nodes like octrees a...
Definition CDynamicMeshBuffer.h:16
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_QUAD_STRIP
@ EPT_QUAD_STRIP
After the first two vertices each further tw vetices create a quad with the preceding two.
Definition EPrimitiveTypes.h:40
irr::scene::EPT_LINE_STRIP
@ EPT_LINE_STRIP
All vertices form a single connected line.
Definition EPrimitiveTypes.h:20
irr::scene::EPT_QUADS
@ EPT_QUADS
Every four vertices create a quad.
Definition EPrimitiveTypes.h:43
irr::scene::EPT_TRIANGLE_FAN
@ EPT_TRIANGLE_FAN
Definition EPrimitiveTypes.h:34
irr::scene::EPT_POLYGON
@ EPT_POLYGON
Just as LINE_LOOP, but filled.
Definition EPrimitiveTypes.h:46
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:49
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 aabbox3d.h:13
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0