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

Effect to draw a mesh with single color. More...

#include <Painter.h>

Inheritance diagram for flw::flf::Painter:
flw::flf::IEffect

Public Member Functions

 Painter (glm::vec4 color)
 
void setColor (glm::vec4 color)
 
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 draw a mesh with single color.

Member Function Documentation

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

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

postDrawAction

Implements flw::flf::IEffect.

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

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

preDrawAction

Implements flw::flf::IEffect.

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

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

startAction

Implements flw::flf::IEffect.

void flw::flf::Painter::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: