|
Class DDCaps
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;
}
Represents the capabilities of the hardware exposed through the DirectDraw object. This class contains the ddsCaps field that describes what kinds of DirectDrawSurface objects can be created. It may not be possible to simultaneously create all of 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.
- alignBoundaryDest
- Destination rectangle alignment.
- alignBoundarySrc
- Source rectangle alignment.
- alignSizeDest
- Destination rectangle byte size.
- alignSizeSrc
- Source rectangle byte size.
- alignStrideAlign
- Stride alignment.
- alphaBltConstBitDepths
- DDBD_2, DDBD_4, or DDBD_8. (Indicates 2-, 4-, or 8-bits per pixel.)
- alphaBltPixelBitDepths
- DDBD_1, DDBD_2, DDBD_4, or DDBD_8. (Indicates 1-, 2-, 4-, or 8-bits per pixel.)
- alphaBltSurfaceBitDepths
- DDBD_1, DDBD_2, DDBD_4, or DDBD_8. (Indicates 1-, 2-, 4-, or 8-bits per pixel.)
- alphaOverlayConstBitDepths
- DDBD_2, DDBD_4, or DDBD_8. (Indicates 2-, 4-, or 8-bits per pixel.)
- alphaOverlayPixelBitDepths
- DDBD_1, DDBD_2, DDBD_4, or DDBD_8. (Indicates 1-, 2-, 4-, or 8-bits per pixel.)
- alphaOverlaySurfaceBitDepths
- DDBD_1, DDBD_2, DDBD_4, or DDBD_8. (Indicates 1-, 2-, 4-, or 8-bits per pixel.)
- caps
- One or more values of DDCaps_ type, specifying driver-specific capabilities.
- caps2
- One or more values of DDCaps2_ type, specifying driver-specific capabilities.
- colorkeyCaps
- One or more values of DDCKEYCAPS_ type, specifying color-key capabilities.
- currVisibleOverlays
- Current number of visible overlays.
- ddsCaps
- One or more values of DDSCAPS_ type, specifying general capabilities.
- fxAlphaCaps
- One or more values of DDFXALPHACAPS_ type, specifying driver-specific alpha capabilities.
- fxCaps
- One or more values of DDFXCAPS_ type, specifying driver-specific stretching and effects capabilities.
- maxVisibleOverlays
- Maximum number of visible overlays.
- numFourCCCodes
- Number of FourCC codes.
- palCaps
- One or more values of DDPCAPS_ type, specifying palette capabilities.
- rops1
- Raster operations supported.
- rops2
- Raster operations supported.
- rops3
- Raster operations supported.
- rops4
- Raster operations supported.
- rops5
- Raster operations supported.
- rops6
- Raster operations supported.
- rops7
- Raster operations supported.
- rops8
- Raster operations supported.
- stereovisionCaps
- One or more values of DDSVCAPS_ type, specifying stereo vision capabilities.
- vidMemFree
- Amount of free display memory.
- vidMemTotal
- Total amount of display memory.
- zbufferBitDepths
- DDBD_8, DDBD_16, DDBD_24, or DDBD_32. (Indicates 8-, 16-, 24-, or 32-bits per pixel.)
|