Callback function for UVAtlas.
typedef HRESULT (*LPD3DXUVATLASCB ( FLOAT fPercentDone, LPVOID lpUserContext );
[out] fPercentDone - Floating point number between 0 and 1.0 that represents the percentage of calculations completed (between 0 and 100 percent).
[in] lpUserContext - Pointer to a user-defined value which is passed to the callback function; typically used by an application to pass a pointer to a data structure that provides context information for the callback function.
This function must be implemented to return S_OK to keep running the simulator. Any other value will halt the simulator.
Be sure to specify the Windows Data Types calling convention when declaring the callback function. Otherwise, stack overflows can occur.
Header | d3dx9mesh.h |
---|---|
Import Library | d3dx9.lib |
Minimum Operating System | Windows 98 |