Wraps the OpenGL function glLineWidth(), see also http://www.opengl.org/sdk/docs/man/xhtml/glLineWidth.xml for more information.
More...
#include <Shader.hpp>
List of all members.
Public Member Functions |
| | LineWidth (float linewidth=1.0f) |
| virtual const char * | className () |
| | Returns the name of the class.
|
| virtual ERenderState | type () const |
| virtual void | apply (const Camera *, OpenGLContext *ctx) const |
| | The parameter cameara is NULL if we are disabling the state, non-NULL if we are enabling it.
|
| void | set (float linewidth) |
| float | lineWidth () const |
Protected Attributes |
| float | mLineWidth |
Detailed Description
Wraps the OpenGL function glLineWidth(), see also http://www.opengl.org/sdk/docs/man/xhtml/glLineWidth.xml for more information.
- See also:
- Shader, Effect, Actor
Constructor & Destructor Documentation
| vl::LineWidth::LineWidth |
( |
float |
linewidth = 1.0f ) |
[inline] |
Member Function Documentation
| virtual const char* vl::LineWidth::className |
( |
) |
[inline, virtual] |
| virtual ERenderState vl::LineWidth::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::LineWidth::set |
( |
float |
linewidth ) |
[inline] |
| float vl::LineWidth::lineWidth |
( |
) |
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