Sets the Direct3D device-created callback function.
VOID DXUTSetCallbackDeviceCreated( LPDXUTCALLBACKDEVICECREATED pCallbackDeviceCreated, void* pUserContext );
No return value.
The LPDXUTCALLBACKDEVICECREATED callback function is the appropriate location for the application to create resources in D3DPOOL_MANAGED or D3DPOOL_SYSTEMMEM memory, because these resources do not need to be reloaded whenever the device is reset. Resources created in the LPDXUTCALLBACKDEVICECREATED callback function should be deleted in the LPDXUTCALLBACKDEVICEDESTROYED callback function.
Header: Declared in Dxut.h.
LPDXUTCALLBACKDEVICECREATED, LPDXUTCALLBACKDEVICEDESTROYED, DXUTSetCallbackDeviceDestroyed