Visualization Library

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

vl::GLSLFragmentShader Class Reference

Wraps a GLSL fragment shader to be bound to a GLSL program. More...

#include <GLSL.hpp>

Inheritance diagram for vl::GLSLFragmentShader:
vl::GLSLShader vl::Object

List of all members.

Public Member Functions

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

Detailed Description

Wraps a GLSL fragment shader to be bound to a GLSL program.

See also:
GLSLProgram, GLSLVertexShader, GLSLGeometryShader, Shader, Effect

Constructor & Destructor Documentation

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

Member Function Documentation

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

Returns the name of the class.

Reimplemented from vl::GLSLShader.


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

Visualization Library v2010.11.1123 Reference Documentation
Copyright 2005-2009 Michele Bosi. All rights reserved.
Updated on Thu Nov 18 2010 02:08:03.
Permission is granted to use this page to write and publish articles regarding Visualization Library.