enum HALNotifyType { HAL_Initialize, HAL_Shutdown, HAL_PrepareForReset, HAL_RestoreAfterReset, HAL_BeginFrame, HAL_EndFrame, HAL_BeginScene, HAL_EndScene, HAL_BeginDisplay, HAL_EndDisplay, HAL_ConfigChange };
Specifies the type of video mode event on the render HAL.
Members |
Description |
HAL_Initialize |
Called for rendering initialization.//called from InitHAL. |
HAL_Shutdown |
Called for shutdown of rendering. //Called from ShutdownHAL. |
HAL_PrepareForReset |
In D3D9, called before the d3d device is reset. |
HAL_RestoreAfterReset |
In D3D9, called after the d3d device is reset. Usually textures will be reloaded here. |
HAL_BeginFrame |
Called at the beginning of HAL::BeginFrame. Note: may not fire if HAL is not initialized. |
HAL_EndFrame |
Called at the end of HAL::EndFrame. Note: may not fire if not within a frame. |
HAL_BeginScene |
Called at the beginning of HAL::BeginScene. Note: may not fire if not within frame. |
HAL_EndScene |
Called at the end of HAL::EndScene. Note: may not fire if not within scene. |
HAL_BeginDisplay |
Called at the beginning of HAL::beginDisplay (NB: lowercase). Note: may not fire if not within scene. |
HAL_EndDisplay |
Called at the end of HAL::endDisplay (NB: lowercase). Note: may not fire if not within display. |
HAL_ConfigChange |
Called when the HALConfigFlags change (after initialization). |
Render_HALNotify.h