osgEarth 2.1.1
|
Public Member Functions | |
TileGenRequest (StreamingTile *tile, const TileUpdate &update) | |
void | operator() (ProgressCallback *progress) |
Public Attributes | |
osg::ref_ptr< StreamingTile > | _tile |
TileUpdate | _update |
Definition at line 172 of file StreamingTile.cpp.
anonymous_namespace{StreamingTile.cpp}::TileGenRequest::TileGenRequest | ( | StreamingTile * | tile, |
const TileUpdate & | update | ||
) | [inline] |
Definition at line 174 of file StreamingTile.cpp.
void anonymous_namespace{StreamingTile.cpp}::TileGenRequest::operator() | ( | ProgressCallback * | progress | ) | [inline, virtual] |
Implements osgEarth::TaskRequest.
Definition at line 177 of file StreamingTile.cpp.
{ if (_tile.valid()) { CustomTerrainTechnique* tech = dynamic_cast<CustomTerrainTechnique*>( _tile->getTerrainTechnique() ); if (tech) { tech->compile( _update, progress ); } } //We don't need the tile anymore _tile = NULL; }
osg::ref_ptr< StreamingTile > anonymous_namespace{StreamingTile.cpp}::TileGenRequest::_tile |
Definition at line 192 of file StreamingTile.cpp.
TileUpdate anonymous_namespace{StreamingTile.cpp}::TileGenRequest::_update |
Definition at line 193 of file StreamingTile.cpp.