|
Fillwave
10.0.0
|
Effect to create a fog. More...
#include <Fog.h>
Public Member Functions | |
| Fog (glm::vec3 colour=glm::vec3(0.1f, 0.1f, 0.1f), GLfloat near=0.1f, GLfloat far=20.0f) | |
| glm::vec3 | getColour () |
| GLfloat | getNearDistance () |
| GLfloat | getFarDistance () |
| void | setColour (glm::vec3 colour) |
| void | setNearDistance (GLfloat aNear) |
| void | setFarDistance (GLfloat aFar) |
| void | preDrawAction (flc::Program *program) override |
| virtual: defines action to be done just before the draw. More... | |
| void | postDrawAction (flc::Program *program) override |
| virtual: defines action to be done just after the draw. More... | |
| void | stopAction (flc::Program *program) override |
| virtual: defines action to be done when the effect is stopped. More... | |
| void | startAction (flc::Program *program) override |
| virtual: defines action to be done when the effect is started. More... | |
Effect to create a fog.
|
overridevirtual |
virtual: defines action to be done just after the draw.
postDrawAction
Implements flw::flf::IEffect.
|
overridevirtual |
virtual: defines action to be done just before the draw.
preDrawAction
Implements flw::flf::IEffect.
|
overridevirtual |
virtual: defines action to be done when the effect is started.
startAction
Implements flw::flf::IEffect.
|
overridevirtual |
virtual: defines action to be done when the effect is stopped.
stopAction
Implements flw::flf::IEffect.
1.8.11