Enum PrimitiveType
Used in GL.Arb.DrawArraysInstanced, GL.Arb.DrawElementsInstanced and 32 other functions
Namespace: OpenTK.Graphics.OpenGL4
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 |
Quads | Original was GL_QUADS = 0x0007 |
QuadsExt | Original was GL_QUADS_EXT = 0x0007 |
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 |