Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
Wraps a GLSL vertex shader to be bound to a GLSLProgram: the shader this shader will run on the programmable vertex processor. More...
#include <GLSL.hpp>
Public Member Functions | |
| GLSLVertexShader (const String &source=String()) | |
| Constructor. | |
| virtual const char * | className () |
| Returns the name of the class. | |
Wraps a GLSL vertex shader to be bound to a GLSLProgram: the shader this shader will run on the programmable vertex processor.
Definition at line 97 of file GLSL.hpp.
Constructor.
| source | Vertex shader's source code or path to a text file containing the vertex shader's source code. |
Definition at line 102 of file GLSL.hpp.
References className(), and vl::Object::mObjectName.
| virtual const char* vl::GLSLVertexShader::className | ( | ) | [inline, virtual] |
Returns the name of the class.
Reimplemented from vl::GLSLShader.
Definition at line 109 of file GLSL.hpp.
Referenced by GLSLVertexShader().