WhirlyGlobe
1.2
A 3D interactive globe toolkit for iOS
|
#include <Generator.h>
Public Member Functions | |
virtual void | generateDrawables (RendererFrameInfo *frameInfo, std::vector< Drawable * > &drawables) |
The Generator is a base class for objects that want to produce Drawables every frame. This is for things like particle systems or layers that want custom animation.
virtual void WhirlyGlobe::Generator::generateDrawables | ( | RendererFrameInfo * | frameInfo, |
std::vector< Drawable * > & | drawables | ||
) | [inline, virtual] |
Generate a list of drawables to draw. The renderer will delete these at the end of the frame.
Reimplemented in WhirlyGlobe::ParticleGenerator, and WhirlyGlobe::MarkerGenerator.