Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <Shader.hpp>

Public Member Functions | |
| PolygonOffset () | |
| virtual const char * | className () |
| Returns the name of the class. | |
| virtual ERenderState | type () const |
| PolygonOffset (float factor, float units) | |
| virtual void | apply (const Camera *) const |
| void | set (float factor, float units) |
| void | setFactor (float factor) |
| void | setUnits (float units) |
| float | factor () const |
| float | units () const |
Protected Attributes | |
| float | mFactor |
| float | mUnits |
| vl::PolygonOffset::PolygonOffset | ( | ) | [inline] |
| vl::PolygonOffset::PolygonOffset | ( | float | factor, | |
| float | units | |||
| ) | [inline] |
| virtual const char* vl::PolygonOffset::className | ( | ) | [inline, virtual] |
| virtual ERenderState vl::PolygonOffset::type | ( | ) | const [inline, virtual] |
Reimplemented from vl::RenderState.
| void PolygonOffset::apply | ( | const Camera * | ) | const [virtual] |
Implements vl::RenderState.
| void vl::PolygonOffset::set | ( | float | factor, | |
| float | units | |||
| ) | [inline] |
| void vl::PolygonOffset::setFactor | ( | float | factor | ) | [inline] |
| void vl::PolygonOffset::setUnits | ( | float | units | ) | [inline] |
| float vl::PolygonOffset::factor | ( | ) | const [inline] |
| float vl::PolygonOffset::units | ( | ) | const [inline] |
float vl::PolygonOffset::mFactor [protected] |
float vl::PolygonOffset::mUnits [protected] |