OpenGL Shading Language: Difference between revisions

Content deleted Content added
Improved grammar
Line 79:
 
==Compilation and execution==
GLSL shaders are not stand-alone applications; they require an application that utilizes the OpenGL API, which is available on many different platforms (e.g., [[Linux]], [[macOS]], [[Microsoft Windows|Windows]]). There are language bindings for [[C (programming language)|C]], [[C++]], [[C sharp (programming language)|C#]], [[JavaScript]], [[Delphi (programming language)|Delphi]], [[Java (programming language)|Java]], and many more.
 
GLSL shaders themselves are simply a set of [[String (computer science)|strings]] that are passed to the hardware vendor's driver for compilation from within an application using the OpenGL API's entry points. Shaders can be created [[Wiktionary:on the fly|on the fly]] from within an application, or read-in as text files, but must be sent to the driver in the form of a string.