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