Graphics Reference
In-Depth Information
Figure 12.1.
The geometry shader in the graphics pipeline.
What Does the Geometry Shader Do?
If you use a geometry shader, your application or your vertex shader can gen-
erate all the familiar topology types plus a few new ones that we will cover
below:
•
Points.
•
Lines.
•
Line strips.
•
Line loops.
•
Lines with adjacency.
•
Line strips with adjacency.
•
Triangles.
•
Triangle strips.