Callback object used to update/animate a Shader during the rendering.
More...
#include <Shader.hpp>
List of all members.
Detailed Description
Callback object used to update/animate a Shader during the rendering.
The updateShader() method will be called whenever a visible object uses the Shader to which the ShaderAnimator is bound.
- See also:
- Shader::setUpdater();
Constructor & Destructor Documentation
| vl::ShaderAnimator::ShaderAnimator |
( |
) |
[inline] |
Member Function Documentation
| virtual void vl::ShaderAnimator::updateShader |
( |
Shader * |
shader, |
|
|
Camera * |
camera, |
|
|
Real |
cur_time |
|
) |
| [pure virtual] |
Reimplement this function to update/animate a Shader.
- Parameters:
-
| shader | the Shader to be updated. |
| camera | the camera used for the current rendering. |
| cur_time | the current animation time. |
- See also:
- Shader::setShaderAnimator();
| void vl::ShaderAnimator::setEnabled |
( |
bool |
enable ) |
[inline] |
| bool vl::ShaderAnimator::isEnabled |
( |
) |
const [inline] |
Member Data Documentation
The documentation for this class was generated from the following file:
- C:/VL/BuildSystem/VL_DISTRO/Visualization_Library_SDK/src/vl/Shader.hpp