C3DScreen::SetRestoreCallback |
Top Previous Next |
Syntax:
SetRestoreCallback(UINT lpfn, pointer pParam)
Purpose:
Parameters: lpfn - Address of the callback function. pParam - User defined parameter passed to the callback.
Returned value(s): None.
Application: m = CreatePyramid(s,2)
Class Hierarchy
Additional Info: The callback function is called by the 3D engine when the screen buffers have been lost, usually due to an alt-tab switch to the desktop and back to your full screen program. At this time custom meshes and environment mapped textures will need to be recreated.
The format of the callback function is a subroutine with a single pointer parameter. |