Portal:OpenGL Objects/Program Objects: Difference between revisions
Jump to navigation
Jump to search
Portal to program objects. |
Program-first version. |
||
Line 1: | Line 1: | ||
A '''Shader | A '''Program Object''' stores the executable code and uniform state for one or more [[Shader]] stages. The most common means of building them involves the creation of '''Shader Objects''', which represent strings of text in the [[OpenGL Shading Language]]. Shader objects are compiled, and if successful, one or more shader objects is linked into a program. | ||
In both cases, the user can query whether compilation or linking failed, and the error messages produced by any such failures. |
Latest revision as of 21:40, 8 June 2013
A Program Object stores the executable code and uniform state for one or more Shader stages. The most common means of building them involves the creation of Shader Objects, which represent strings of text in the OpenGL Shading Language. Shader objects are compiled, and if successful, one or more shader objects is linked into a program.
In both cases, the user can query whether compilation or linking failed, and the error messages produced by any such failures.