![]() |
![]() |
Application-defined callback function, called by DXUT to allow changes in device settings before the device is created with DXUTCreateDevice.
bool LPDXUTCALLBACKMODIFYDEVICESETTINGS( DXUTDeviceSettings * pDeviceSettings, CONST D3DCAPS9 * pCaps, void* pUserContext );
Program the application to return true to continue creating the device. If not, the application should return false to continue using the current device if one exists.
Anything in pDeviceSettings can be changed by the application.
Note DXUT will not prevent the failure of device creation caused by changes to device settings.
Header: Declared in Dxut.h.