The D3dDeviceDesc Class of the com.ms.directX package contains a description of the current device. This class is used to query the current device by such methods as getCaps.
public final class D3dDeviceDesc { // Fields public int clipping; public int dcmColorModel; public int devCaps; public int deviceRenderBitDepth; public int deviceZBufferBitDepth; public int dlcLightingCaps; public int dlcLightingModel; public int dlcLightingNumber; public int dtcTransformCaps; public int flags; public int maxBufferSize; public int maxVertexCount; }