Applications use the methods of the Direct3dRMDevice Class of the com.ms.directX package to interact with the output device.
public class Direct3dRMDevice implements IDirect3dRMDevice { // Methods public void addUpdateCallback(IDeviceUpdateCallback fn, IUnknown args); public void deleteUpdateCallback(IDeviceUpdateCallback fn, IUnknown args); public int getBufferCount(); public int getColorModel(); public Direct3dRMWinDevice getd3drmWinDevice(); public Direct3dDevice getDirect3DDevice(); public int getDither(); public int getHeight(); public int getQuality(); public int getShades(); public int getTextureQuality(); public int getTrianglesDrawn(); public Direct3dRMViewportArray getViewports(); public int getWidth(); public int getWireframeOptions(); public void init(int width, int height); public void setBufferCount(int count); public void setDither(int dith); public void setQuality(int q); public void setShades(int s); public void setTextureQuality(int d); public void update(); }
The Direct3dRMDevice class inherits the following methods from the Direct3dRMObject class:
addDestroyCallback
duplicate
deleteDestroyCallback
getAppData
getClassName
getName
setAppData
setName
The Direct3dRMDevice object is obtained by calling the createDevice method.