Wraps the OpenGL function glPolygonOffset(), see also http://www.opengl.org/sdk/docs/man/xhtml/glPolygonOffset.xml for more information.
More...
#include <Shader.hpp>
List of all members.
Detailed Description
Wraps the OpenGL function glPolygonOffset(), see also http://www.opengl.org/sdk/docs/man/xhtml/glPolygonOffset.xml for more information.
- See also:
- Shader, Effect, Actor, vl::EN_POLYGON_OFFSET_FILL, vl::EN_POLYGON_OFFSET_LINE, vl::EN_POLYGON_OFFSET_POINT
Constructor & Destructor Documentation
| vl::PolygonOffset::PolygonOffset |
( |
) |
[inline] |
| vl::PolygonOffset::PolygonOffset |
( |
float |
factor, |
|
|
float |
units |
|
) |
| [inline] |
Member Function Documentation
| virtual const char* vl::PolygonOffset::className |
( |
) |
[inline, virtual] |
| virtual ERenderState vl::PolygonOffset::type |
( |
) |
const [inline, virtual] |
The parameter cameara is NULL if we are disabling the state, non-NULL if we are enabling it.
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] |
Member Data Documentation
The documentation for this class was generated from the following files:
- C:/VL/BuildSystem/VL_DISTRO/Visualization_Library_SDK/src/vl/Shader.hpp
- C:/VL/BuildSystem/VL_DISTRO/Visualization_Library_SDK/src/vl/Shader.cpp