![]()  | 
  
    MapLink Pro 11.2
    
   Envitia MapLink Pro: The Ultimate Mapping Application Toolkit 
   | 
 
This class is used when the application wishes to receive a callback before a layer is drawn and after a layer has been drawn.
The expected use is with the TSLDynamicDataObjectLayer and the OpenGL Drawing Surface for managing OpenGL resources.
Public Member Functions | |
| virtual void | preDrawLayer (TSLRenderingInterface *renderingInterface, const TSLEnvelope *extent)=0 | 
| virtual void | postDrawLayer (TSLRenderingInterface *renderingInterface, const TSLEnvelope *extent)=0 | 
| virtual void | releaseResources (int drawingSurfaceId)=0 | 
| virtual | ~TSLDataLayerDrawingCallback ()=0 | 
      
  | 
  inlinepure virtual | 
      
  | 
  pure virtual | 
Provides callbacks to the application at the point just after the layer has been drawn.
The developer should provide an implementation of this method.
| renderingInterface | Provides a handle to the drawing operations. | 
| extent | Provides the extent of the area being drawn by the drawing surface in TMCs. | 
      
  | 
  pure virtual | 
Provides callbacks to the application at the point just before the layer is drawn.
The developer should provide an implementation of this method.
| renderingInterface | Provides a handle to the drawing operations. | 
| extent | Provides the extent of the area being drawn by the drawing surface in TMCs. | 
      
  | 
  pure virtual | 
This method is called when the application is expected to release any resources that it has allocated.
This method is not called when NULL is passed to TSLDataLayer::addDrawingCallback.
| drawingSurfaceId | The drawing surface id that the resources are being invalidated for. |