Applications use the methods of the Direct3d Class of the com.ms.directX package to create Direct3D objects and set up the environment.
public class Direct3d implements IDirect3d { // Methods public Direct3dLight createLight(); public Direct3dMaterial createMaterial(); public Direct3dViewport createViewport(); public void enumDevices(Id3dEnumDevicesCallback fn, IUnknown p); public void findDevice(D3dFindDeviceSearch ds, D3dFindDeviceResult hresult, D3dFindDeviceResult sresult); public _Guid findDeviceForColorModel(int cm, int hardware); public void initialize(_Guid id); public int systemBpp(); }