![]() |
![]() |
![]() |
Application-defined resource deletion callback function, to be called by the sample framework immediately after the device is destroyed.
Syntax
typedef VOID (CALLBACK *LPDXUTCALLBACKDEVICEDESTROYED)(VOID);
Return Value
No return value.
Remarks
This callback function should be used to delete resources created in the LPDXUTCALLBACKDEVICECREATED callback function. The deleted resources will generally include all resources created in D3DPOOL_MANAGED or D3DPOOL_SYSTEMMEM memory.
Prototype Information
Header dxut.h Import library None Minimum operating systems Windows 98
See Also
Device Events, DXUTSetCallbackDeviceDestroyed, DXUTSetCallbackDeviceCreated, LPDXUTCALLBACKDEVICECREATED