Fillwave  10.0.0
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
flw::flf::IEmiterPoint Class Referenceabstract

Drawable Entity which emits particles. More...

#include <IEmiterPoint.h>

Inheritance diagram for flw::flf::IEmiterPoint:
flw::flf::EmiterPointCPU flw::flf::EmiterPointGPU flw::flf::EmiterPointStep

Public Member Functions

 IEmiterPoint (GLuint howMany, GLfloat size, GLfloat lifetime, flc::Texture2D *texture, glm::vec4 color, GLenum blendingSource, GLenum blendingDestination, GLboolean depthTesting, GLfloat alphaCutOff)
 
void setBlending (GLenum sourceFactor, GLenum destinationFactor)
 
virtual void update (GLfloat timeElapsedSec)=0
 

Protected Member Functions

void drawParticles ()
 

Protected Attributes

GLfloat mStartSize
 
GLfloat mLifetime
 
flc::Texture2DmTexture
 
glm::vec4 mColor
 
GLuint mHowMany
 
GLboolean mDepthTesting
 
GLfloat mAlphaCutOff
 
flc::ProgrammProgram
 
flc::IndexBuffermIBO
 
Blending mBlending
 

Detailed Description

Drawable Entity which emits particles.


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