Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics
[Home] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions

vl::GLSLVertexShader Class Reference

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>

Inheritance diagram for vl::GLSLVertexShader:
vl::GLSLShader vl::Object

List of all members.

Public Member Functions

 GLSLVertexShader (const String &source=String())
 Constructor.

Detailed Description

Wraps a GLSL vertex shader to be bound to a GLSLProgram: the shader this shader will run on the programmable vertex processor.

See also:
GLSLFragmentShader, GLSLGeometryShader, GLSLTessControlShader, GLSLTessEvaluationShader, GLSLProgram, Effect

Definition at line 141 of file GLSL.hpp.


Constructor & Destructor Documentation

vl::GLSLVertexShader::GLSLVertexShader ( const String source = String()) [inline]

Constructor.

Parameters:
sourceVertex shader's source code or path to a text file containing the vertex shader's source code.

Definition at line 148 of file GLSL.hpp.

References vl::Object::mObjectName.


The documentation for this class was generated from the following file:

Visualization Library 2011.09.1160 Reference Documentation
Copyright 2005-2011 Michele Bosi. All rights reserved.
Updated on Thu May 2 2013 13:41:29.
Permission is granted to use this page to write and publish articles regarding Visualization Library.