Gets a pointer to the IDirect3DDevice9 interface that represents the current device.
IDirect3DDevice9 * DXUTGetD3DDevice();
None.
Pointer to the IDirect3DDevice9 that represents the current device. NULL is returned if no device has been created. See Remarks.
This function exposes access to a global IDirect3DDevice9 object. The reference count on this device interface is not incremented, so a calling function should not release the IDirect3DDevice9 interface pointer returned by this function.
Header: Declared in Dxut.h.