Microsoft DirectX 9.0 SDK Update (October 2004)

PrtEngine.SetCallback Method

Language:

Note: This documentation is preliminary and is subject to change.

Sets a delegate to an optional callback method that computes the percentage of spherical harmonic (SH) computations completed and gives the caller the option of aborting the simulator.

Definition

Visual Basic .NET Public Sub SetCallback( _
    ByVal callback As PrtEngineCallback, _
    ByVal frequency As Single _
)
C# public void SetCallback(
    PrtEngineCallback callback,
    float frequency
);
Managed C++ public: void SetCallback(
    PrtEngineCallback *callback,
    float frequency
);
JScript .NET public function SetCallback(
    callback : PrtEngineCallback,
    frequency : float
);

Parameters

callback Microsoft.DirectX.Direct3D.PrtEngineCallback. A PrtEngineCallback delegate to assign as the callback method.
frequency System.Single. Frequency of callback calls. The inverse of frequency is approximately the number of times the callback method will be called.

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center