Visualization Library

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

vl::GLSLGeometryShader Class Reference

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

#include <GLSL.hpp>

Inheritance diagram for vl::GLSLGeometryShader:
vl::GLSLShader vl::Object

List of all members.

Public Member Functions

 GLSLGeometryShader (const String &source=String())
virtual const char * className ()
 Returns the name of the class.

Detailed Description

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

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

Definition at line 132 of file GLSL.hpp.


Constructor & Destructor Documentation

vl::GLSLGeometryShader::GLSLGeometryShader ( const String source = String() ) [inline]
Parameters:
sourceGeometry shader's source code or path to a text file containing the geometry shader's source code.

Definition at line 136 of file GLSL.hpp.

References className(), and vl::Object::mObjectName.


Member Function Documentation

virtual const char* vl::GLSLGeometryShader::className (  ) [inline, virtual]

Returns the name of the class.

Reimplemented from vl::GLSLShader.

Definition at line 143 of file GLSL.hpp.

Referenced by GLSLGeometryShader().


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

Visualization Library v2011.05.1144 Reference Documentation
Copyright 2005-2011 Michele Bosi. All rights reserved.
Updated on Tue Sep 13 2011 21:59:14.
Permission is granted to use this page to write and publish articles regarding Visualization Library.