![]() |
![]() |
![]() |
Gets a pointer to the IDirect3DDevice9 interface that represents the current device.
Syntax
IDirect3DDevice9 *DXUTGetD3DDevice(VOID);
Return Value
Pointer to the IDirect3DDevice9 that represents the current device. NULL is returned if no device has been created. See Remarks.
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.
Function Information
Header dxut.h Import library None Minimum operating systems Windows 98