Fillwave  10.0.0
List of all members | Public Member Functions
flw::flf::Fog Class Reference

Effect to create a fog. More...

#include <Fog.h>

Inheritance diagram for flw::flf::Fog:
flw::flf::IEffect

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...
 

Detailed Description

Effect to create a fog.

Member Function Documentation

void flw::flf::Fog::postDrawAction ( flc::Program program)
overridevirtual

virtual: defines action to be done just after the draw.

postDrawAction

Implements flw::flf::IEffect.

void flw::flf::Fog::preDrawAction ( flc::Program program)
overridevirtual

virtual: defines action to be done just before the draw.

preDrawAction

Implements flw::flf::IEffect.

void flw::flf::Fog::startAction ( flc::Program program)
overridevirtual

virtual: defines action to be done when the effect is started.

startAction

Implements flw::flf::IEffect.

void flw::flf::Fog::stopAction ( flc::Program program)
overridevirtual

virtual: defines action to be done when the effect is stopped.

stopAction

Implements flw::flf::IEffect.


The documentation for this class was generated from the following file: