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 ESRI.ArcGIS.GlobeCore.IGlobeViewer _
) 
Visual Basic (Usage)Copy Code
Dim instance As BaseCustomGlobeLayer
Dim pGlobeViewer As ESRI.ArcGIS.GlobeCore.IGlobeViewer
 
instance.DrawImmediate(pGlobeViewer)
C# 
public abstract void DrawImmediate( 
   ESRI.ArcGIS.GlobeCore.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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.