The DDCaps Class of the com.ms.directX package represents the capabilities of the hardware exposed through the DirectDraw object.
public final class DDCaps { // Fields public int alignBoundaryDest; public int alignBoundarySrc; public int alignSizeDest; public int alignSizeSrc; public int alignStrideAlign; public int alphaBltConstBitDepths; public int alphaBltPixelBitDepths; public int alphaBltSurfaceBitDepths; public int alphaOverlayConstBitDepths; public int alphaOverlayPixelBitDepths; public int alphaOverlaySurfaceBitDepths; public int caps; public int caps2; public int colorkeyCaps; public int currVisibleOverlays; public int ddsCaps; public int fxAlphaCaps; public int fxCaps; public int maxVisibleOverlays; public int numFourCCCodes; public int palCaps; public int rops1; public int rops2; public int rops3; public int rops4; public int rops5; public int rops6; public int rops7; public int rops8; public int stereovisionCaps; public int vidMemFree; public int vidMemTotal; public int zbufferBitDepths; }
This class contains the ddsCaps field that describes what kinds of DirectDrawSurface objects can be created. It might not be possible to simultaneously create all the surfaces described by these capabilities. This class is used with the DirectDraw.getCaps and DirectDrawPalette.getCaps methods.
Note The original DDCaps class is a combination of the current DDCaps and DDCapsFx classes.