Enum PrimitiveType
Used in GL.Angle.DrawArraysInstanced, GL.Angle.DrawElementsInstanced and 22 other functions
Namespace: OpenTK.Graphics.ES20
Assembly: OpenTK.dll
Syntax
public enum PrimitiveType
Fields
Name | Description |
---|---|
LineLoop | Original was GL_LINE_LOOP = 0x0002 |
Lines | Original was GL_LINES = 0x0001 |
LinesAdjacency | Original was GL_LINES_ADJACENCY = 0x000A |
LinesAdjacencyArb | Original was GL_LINES_ADJACENCY_ARB = 0x000A |
LinesAdjacencyExt | Original was GL_LINES_ADJACENCY_EXT = 0x000A |
LineStrip | Original was GL_LINE_STRIP = 0x0003 |
LineStripAdjacency | Original was GL_LINE_STRIP_ADJACENCY = 0x000B |
LineStripAdjacencyArb | Original was GL_LINE_STRIP_ADJACENCY_ARB = 0x000B |
LineStripAdjacencyExt | Original was GL_LINE_STRIP_ADJACENCY_EXT = 0x000B |
Patches | Original was GL_PATCHES = 0x000E |
PatchesExt | Original was GL_PATCHES_EXT = 0x000E |
Points | Original was GL_POINTS = 0x0000 |
Polygon | Original was GL_POLYGON = 0x0009 |
Quads | Original was GL_QUADS = 0x0007 |
QuadsExt | Original was GL_QUADS_EXT = 0x0007 |
QuadStrip | Original was GL_QUAD_STRIP = 0x0008 |
TriangleFan | Original was GL_TRIANGLE_FAN = 0x0006 |
Triangles | Original was GL_TRIANGLES = 0x0004 |
TrianglesAdjacency | Original was GL_TRIANGLES_ADJACENCY = 0x000C |
TrianglesAdjacencyArb | Original was GL_TRIANGLES_ADJACENCY_ARB = 0x000C |
TrianglesAdjacencyExt | Original was GL_TRIANGLES_ADJACENCY_EXT = 0x000C |
TriangleStrip | Original was GL_TRIANGLE_STRIP = 0x0005 |
TriangleStripAdjacency | Original was GL_TRIANGLE_STRIP_ADJACENCY = 0x000D |
TriangleStripAdjacencyArb | Original was GL_TRIANGLE_STRIP_ADJACENCY_ARB = 0x000D |
TriangleStripAdjacencyExt | Original was GL_TRIANGLE_STRIP_ADJACENCY_EXT = 0x000D |