Enum GLPrimitiveType
- Namespace
- SearchAThing.OpenGL.Core
- Assembly
- netcore-opengl-core.dll
Enum that specify which type of primitive belong to a figure.
public enum GLPrimitiveType
- Extension Methods
Fields
Line = 1
Corresponds to GL_LINES opengl primitive.
Its described by 2 GLVertex.
A line primitive will rasterized with 1 pixel screen size.Point = 0
Corresponds to GL_POINTS opengl primitive.
Its described by 1 GLVertex.
A point primitive can have a screen pixel size.Triangle = 2
Corresponds to GL_TRIANGLES opengl primitive.
Its described by 3 GLVertex.
A triangle primitive can be rendered in wireframe or shade mode.
The option ShadeWidthEdge allow to overlay triangles edges with lines generated at runtime through geometry shader.