![]() |
WhirlyGlobe
1.2
A 3D interactive globe toolkit for iOS
|
#import <LayerThread.h>
Public Member Functions | |
(id) | - initWithScene: |
Set it up with a renderer (for context) and a scene. | |
(void) | - addLayer: |
Add these before you kick off the thread. | |
(void) | - main |
Protected Attributes | |
WhirlyGlobe::GlobeScene * | scene |
Scene we're messing with. | |
NSMutableArray< NSObject > * | layers |
The various data layers we'll display. | |
Properties | |
NSRunLoop * | runLoop |
Run loop created within our main. |
The Layer Thread manages the objects that put data into a scene and take it out later. These objects also handle the interaction with the user, if there is significant calculation or lookup involved. It starts its own thread, obviously, and does all the work there.