Shader Object. More...
Derived from: | None |
Derived by: | None |
Group: | Display (Display) |
#include <ClanLib/display.h>
Class Members:
Construction: | |
Constructs a null instance. | |
Load. | |
Load and compile. |
| |
Returns the OpenGL shader handle. | |
Gets the shader type. | |
Get shader object's info log. | |
Get shader source code. | |
Returns true if this object is invalid. | |
Throw an exception if this object is invalid. | |
Get Provider. |
| |
Handle comparison operator. | |
Compile program. |
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.