This method of the DirectDraw Class creates a Direct3D object.
public Direct3d createD3D();
Returns the Direct3d object if successful; otherwise, returns null.