Fixed Function Pipeline: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
Created page with "There are two basic ways to render. Either use a fixed function pipeline, or a shader program. The fixed function pipeline is the legacy way, while using a shader program..."
(No difference)

Revision as of 10:54, 10 April 2011

There are two basic ways to render. Either use a fixed function pipeline, or a shader program. The fixed function pipeline is the legacy way, while using a shader program is the new way. In OpenGL 2.1, fixed function pipeline will be used if no shader program is used. A fixed function is characterized by the use of glBegin() and glEnd().

With OpenGL 3.2, the fixed function pipeline is not only deprecated, it is removed. However, using a compatibility context makes it possible to switch back to fixed function pipeline.

See also wgl_create_context