Application-defined resource deletion callback function, to be called by DXUT immediately after the device is destroyed.
VOID LPDXUTCALLBACKDEVICEDESTROYED( void* pUserContext );
No return value.
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.
Header: Declared in Dxut.h.
DXUTSetCallbackDeviceDestroyed, DXUTSetCallbackDeviceCreated, LPDXUTCALLBACKDEVICECREATED