Portal:OpenGL Objects/Program Objects: Difference between revisions
Jump to navigation
Jump to search
Portal to program objects. |
(No difference)
|
Revision as of 13:43, 26 February 2013
A Shader Object represents a set of text files for the OpenGL Shading Language. The user can compile these files for a particular Shader stage. The user can use the object to retrieve post-compilation information, such as whether the compilation succeeded or not and a list of error messages if it failed.
Shader objects can be linked together into a Program Object. This represents the full executable code for one or more Shader stages. It stores a series of uniforms and other settings that the user can change. And if the linking fails, the user can query a list of error messages describing the failures.