0a419c51 |
1 | // Author: Kirill Gavrilov |
2 | // Copyright (c) 2016-2019 OPEN CASCADE SAS |
3 | // |
4 | // This file is part of Open CASCADE Technology software library. |
5 | // |
6 | // This library is free software; you can redistribute it and/or modify it under |
7 | // the terms of the GNU Lesser General Public License version 2.1 as published |
8 | // by the Free Software Foundation, with special exception defined in the file |
9 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
10 | // distribution for complete text of the license and disclaimer of any warranty. |
11 | // |
12 | // Alternatively, this file may be used under the terms of Open CASCADE |
13 | // commercial license or contractual agreement. |
14 | |
15 | #ifndef _RWGltf_GltfPrimitiveMode_HeaderFile |
16 | #define _RWGltf_GltfPrimitiveMode_HeaderFile |
17 | |
18 | //! Low-level glTF enumeration defining Primitive type. |
19 | //! Similar to Graphic3d_TypeOfData but does not define actual type and includes matrices. |
20 | enum RWGltf_GltfPrimitiveMode |
21 | { |
22 | RWGltf_GltfPrimitiveMode_UNKNOWN = -1, //!< unknown or invalid type |
23 | RWGltf_GltfPrimitiveMode_Points = 0, //!< GL_POINTS |
24 | RWGltf_GltfPrimitiveMode_Lines = 1, //!< GL_LINES |
25 | RWGltf_GltfPrimitiveMode_LineLoop = 2, //!< GL_LINE_LOOP |
26 | RWGltf_GltfPrimitiveMode_LineStrip = 3, //!< GL_LINE_STRIP |
27 | RWGltf_GltfPrimitiveMode_Triangles = 4, //!< GL_TRIANGLES |
28 | RWGltf_GltfPrimitiveMode_TriangleStrip = 5, //!< GL_TRIANGLE_STRIP |
29 | RWGltf_GltfPrimitiveMode_TriangleFan = 6, //!< GL_TRIANGLE_FAN |
30 | }; |
31 | |
32 | #endif // _RWGltf_GltfPrimitiveMode_HeaderFile |