This method of the Direct3dViewport Class retrieves the viewport registers.
public void getViewport(D3dViewportDesc vp);
setViewport