Portal:OpenGL Objects/Program Objects
Jump to navigation
Jump to search
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.