Home | All Classes | Grouped Classes | Index | Search
OpenGL Shader Object More...
Derived from:
none
Derived by:
none
Group: GL (Display 3D)
#include <ClanLib/gl.h>
Construction:
Constructs an OpenGL shader. |
Attributes:
Returns the OpenGL shader handle. | |
Returns true if compile succeeded. | |
Gets the shader type. | |
Get shader object's info log. | |
Get shader source code. |
Operations:
Handle assignment operator. |
Detailed description:
The source code that makes up a program that gets executed by one of the programmable stages is encapsulated in one or more shader objects. Shader objects are attached to a program objects to form a programmable setup. CL_ShaderObject is ClanLib's C++ interface to OpenGL shader objects.