Wraps the OpenGL function glLightModel(), see also http://www.opengl.org/sdk/docs/man/xhtml/glLightModel.xml for more information.
More...
#include <Shader.hpp>
List of all members.
Detailed Description
Wraps the OpenGL function glLightModel(), see also http://www.opengl.org/sdk/docs/man/xhtml/glLightModel.xml for more information.
- See also:
- Shader, Effect, Actor, vl::EN_LIGHTING
Constructor & Destructor Documentation
| vl::LightModel::LightModel |
( |
) |
[inline] |
Member Function Documentation
| virtual const char* vl::LightModel::className |
( |
) |
[inline, virtual] |
| virtual ERenderState vl::LightModel::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::LightModel::setLocalViewer |
( |
bool |
localviewer ) |
[inline] |
| void vl::LightModel::setTwoSide |
( |
bool |
twoside ) |
[inline] |
| void vl::LightModel::setColorControl |
( |
EColorControl |
colorcontrol ) |
[inline] |
| void vl::LightModel::setAmbientColor |
( |
fvec4 |
ambientcolor ) |
[inline] |
| bool vl::LightModel::localViewer |
( |
) |
const [inline] |
| bool vl::LightModel::twoSide |
( |
) |
const [inline] |
| fvec4 vl::LightModel::ambientColor |
( |
) |
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