Primitive Assembly

From OpenGL Wiki
Revision as of 19:27, 9 September 2012 by Alfonse (talk | contribs) (stub for primitive assembly.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Primitive Assembly is the stage in the OpenGL rendering pipeline where primitives to be rendered are sent. These primitives are broken down into individual points, lines, and triangles (eg: if a triangle strip was rendered, primitive assembly is where the strip is converted into triangles). Primitives can be discarded at this stage, either discarding all primitives or just those with a certain winding order.

Rasterizer discard

All primitives can be discarded by enabling GL_RASTERIZER_DISCARD. This prevents any primitives from being rasterized.

This is useful for testing the performance of prior rendering stages, but it is also useful to prevent rendering of primitives generated during Transform Feedback operations.

Face culling