The Shader struct manages a OpenGL Shader instance The Shader can be loaded and compiled. But to use it, you must pass the Shader to the Program (see below).
CTor
DTor
Postblit is disabled
Copying this object is disabled.
The supported Shader-Types
Compiles the Shader
Load the Shader-Source from a file.
Returns the internal Shader ID
See Implementation
Randy Schuett (rswhite4@googlemail.com)
The Shader struct manages a OpenGL Shader instance The Shader can be loaded and compiled. But to use it, you must pass the Shader to the Program (see below).