IDirect3DDeviceX* GetDevice() const;
GetDevice returns the Direct3D immediate device used in the renderer, which either executes D3D9 API calls immediately, or plays back commands on Submit.
Direct3D device.