This method of the Direct3d Class allocates a Direct3dMaterial object.
public Direct3dMaterial createMaterial();
Returns the Direct3dMaterial object if successful; otherwise, returns null.