Visualization Library v1.0.3

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions

vl::GLSLFragmentShader Class Reference

Wraps a GLSL fragment shader to be bound to a GLSLProgram: the shader this shader will run on the programmable fragment processor. 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())

Detailed Description

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

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

Definition at line 160 of file GLSL.hpp.


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.

Definition at line 166 of file GLSL.hpp.

References vl::Object::mObjectName.


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

Visualization Library v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:10.
Permission is granted to use this page to write and publish articles regarding Visualization Library.