Packages
 In this topic

*Fields

 

Packages   PreviousThis PackageNext
Package com.ms.directX   Previous This
Package
Next

 


Class DDSurfaceDesc

public final class DDSurfaceDesc
{
  // Fields
  public int alphaBitDepth;
  public int alphaBitMask;
  public int backBufferCount;
  public int blueBitMask;
  public int colorkeyDestBltHigh;
  public int colorkeyDestBltLow;
  public int colorkeyDestOverlayHigh;
  public int colorkeyDestOverlayLow;
  public int colorkeySrcBltHigh;
  public int colorkeySrcBltLow;
  public int colorkeySrcOverlayHigh;
  public int colorkeySrcOverlayLow;
  public int ddsCaps;
  public int flags;
  public int fourCC;
  public int greenBitMask;
  public int height;
  public int mipmapCount;
  public int pitch;
  public int pixelFormatFlags;
  public int redBitMask;
  public int refreshRate;
  public int rgbBitCount;
  public int uBitMask;
  public int vBitMask;
  public int width;
  public int yBitMask;
  public int yuvAlphaBitMask;
  public int yuvBitCount;
  public int zbufferBitDepth;
}

Contains a description of the surface to be created. This class is passed to the createSurface method. The relevant fields differ for each potential type of surface.

Fields

alphaBitDepth
The depth of the alpha buffer.
alphaBitMask
The bitmask for the alpha channel.
backBufferCount
The number of back buffers.
blueBitMask
The bitmask for the blue bits.
colorkeyDestBltHigh
Color key for destination blit use.
colorkeyDestBltLow
Color key for destination blit use.
colorkeyDestOverlayHigh
Color key for destination overlay use.
colorkeyDestOverlayLow
Color key for destination overlay use.
colorkeySrcBltHigh
Color key for source blit use.
colorkeySrcBltLow
Color key for source blit use.
colorkeySrcOverlayHigh
Color key for source overlay use.
colorkeySrcOverlayLow
Color key for source overlay use.
ddsCaps
One or more values of DDSCAPS_ type specifying DirectDraw surface capabilities.
flags
One or more values of DDSD_ type.
fourCC
FourCC code.
greenBitMask
The bitmask for the green bits.
height
Height of the surface.
mipmapCount
The number of mipmap levels.
pitch
Distance to the start of the next line (return value only).
pixelFormatFlags
One or more values of DDPF_ type.
redBitMask
The bitmask for the red bits.
refreshRate
Used when the display mode is described.
rgbBitCount
The number of RGB bits per pixel (4, 8, 16, 24, or 32).
uBitMask
The bitmask for the U bits.
vBitMask
The bitmask for the V bits.
width
Width of the input surface.
yBitMask
The bitmask for the Y bits.
yuvAlphaBitMask
Mask for alpha channel.
yuvBitCount
The number of YUV bits per pixel (DDBD_4, DDBD_8, DDBD_16, DDBD_24, or DDBD_32).
zbufferBitDepth
Z-buffer bit depth (8, 16, 24, or 32).

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.