ESRI.ArcGIS.ADF.Local
DrawImmediate Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.BaseClasses Namespace > BaseCustomGlobeLayer Class : DrawImmediate Method




pGlobeViewer
For custom OpenGL layers, perform immediate drawing.

Syntax

Visual Basic (Declaration) 
Public MustOverride Sub DrawImmediate( _
   ByVal pGlobeViewer As IGlobeViewer _
) 
Visual Basic (Usage)Copy Code
Dim instance As BaseCustomGlobeLayer
Dim pGlobeViewer As IGlobeViewer
 
instance.DrawImmediate(pGlobeViewer)
C# 
public abstract void DrawImmediate( 
   IGlobeViewer pGlobeViewer
)

Parameters

pGlobeViewer

Remarks

This is where you should add your drawings on the Globe. This method must be overriden in your inheriting class. DrawImmediate together with IGlobeDisplayEvents::BeforeDraw and IGlobeDisplayEvents::AfterDraw is the only safe place where the OpenGL state is ready for custom actions.

See Also

© 2010 All Rights Reserved.