Fixed Function Pipeline: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
The Wiki already has the concepts you're talking about. Find the proper name for things instead of making broken links
mNo edit summary
Line 6: Line 6:
A fixed function is characterized by the use of glBegin() and glEnd().
A fixed function is characterized by the use of glBegin() and glEnd().


With OpenGL 3.1 [[Core_And_Compatibility_in_Contexts|core], the fixed function pipeline has been removed from OpenGL. You may create a compatibility context to access the fixed-function pipeline again.
With OpenGL 3.1 [[Core And Compatibility in Contexts|core]], the fixed function pipeline has been removed from OpenGL. You may create a compatibility context to access the fixed-function pipeline again.


{{stub}}
{{stub}}

Revision as of 21:38, 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.1 core, the fixed function pipeline has been removed from OpenGL. You may create a compatibility context to access the fixed-function pipeline again.