Microsoft DirectX 8.0 (C++) |
Retrieves the device associated with the technique.
HRESULT GetDevice( IDirect3DDevice8** ppDevice );
This method always returns the value S_OK.
Note Calling this method will increase the internal reference count on the IDirect3DDevice8 interface. Be sure to call IUnknown::Release when you are done using this IDirect3DDevice8 interface or you will have a memory leak.
Header: Declared in D3dx8effect.h.
Import Library: Use D3dx8.lib.