Microsoft SDK for Java

DDSurfaceDesc Class

The DDSurfaceDesc Class of the com.ms.directX package 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.

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;
}

© 1999 Microsoft Corporation. All rights reserved. Terms of use.