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