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