RndrPass Event

This event is fired by the control when it has completed redrawing the graph.

Syntax

RndrPass (rendertime, mode, resolution, param4, param5, updatestate)

Parameters

rendertime
A Float value that gives the clock time (in seconds) that the repainting took.

mode
A Short value that describes the type of the rendering action, as follows:

0 Normal repaint to the screen
1 Rendering to the backbuffer to support selection; no onscreen update
2 Accumulation update (not currently supported)
3 Rendering pass to the OpenGL Feedback buffer; no onscreen update
resolution
A Short value that containes the Resolution value for this rendering pass.

param4
This parameter is not currently used.

param5
This parameter is not currently used.

updatestate
A Long value that provides synchronization feedback for the Update method. The value can be any one of the following:

0 This rendering pass does not take the last Update call into account.
1 This rendering pass does take the last Update call into account but is not the highest resolution level.
2 This rendering pass does take the last Update call into account and is the highest resolution level.

Remarks

When the ResolutionAutoAdjust property is enabled, one, two, or three RndrPass events may be triggered each time the graph is updated or the window is exposed.

For large datasets, the multiple passes allow a quick update at a low level of detail, followed by higher detail passes. The resolution parameter can be used to distinguish between these different updates.

See Also

ResolutionAutoAdjust, Update