WhirlyGlobe  1.2
A 3D interactive globe toolkit for iOS
WhirlyGlobe::Generator Class Reference

#include <Generator.h>

Inheritance diagram for WhirlyGlobe::Generator:
WhirlyGlobe::Identifiable WhirlyGlobe::MarkerGenerator WhirlyGlobe::ParticleGenerator

List of all members.

Public Member Functions

virtual void generateDrawables (RendererFrameInfo *frameInfo, std::vector< Drawable * > &drawables)

Detailed Description

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.


Member Function Documentation

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.


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