summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-02-05 17:44:34 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-02-05 17:44:34 +0000
commit016ae0018fe4ca61cc251cf0cacee6757341707e (patch)
tree3d794ac0713b6fd3e66bcd1246281a3568c1ec61 /Graphics/GraphicsEngine
parentSilenced OpenGL deprecation warnings on Mac (diff)
downloadDiligentCore-016ae0018fe4ca61cc251cf0cacee6757341707e.tar.gz
DiligentCore-016ae0018fe4ca61cc251cf0cacee6757341707e.zip
Added line strip topology
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/GraphicsTypes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h
index 398358f8..1be9b101 100644
--- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h
+++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h
@@ -942,6 +942,10 @@ DILIGENT_TYPED_ENUM(PRIMITIVE_TOPOLOGY, Uint8)
/// D3D counterpart: D3D_PRIMITIVE_TOPOLOGY_LINELIST. OpenGL counterpart: GL_LINES.
PRIMITIVE_TOPOLOGY_LINE_LIST,
+ /// Interpret the vertex data as a line strip.\n
+ /// D3D counterpart: D3D_PRIMITIVE_TOPOLOGY_LINESTRIP. OpenGL counterpart: GL_LINE_STRIP.
+ PRIMITIVE_TOPOLOGY_LINE_STRIP,
+
/// Interpret the vertex data as a list of one control point patches.\n
/// D3D counterpart: D3D_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST. OpenGL counterpart: GL_PATCHES.
PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST,