Package com.ms.com.directX Previous
Previous
Microsoft Packages
Microsoft Packages
Index
Index
Next
Next

Class d3dDeviceDesc

public final class d3dDeviceDesc {
  public int flags;
  public int dcmColorModel;
  public int dwDevCaps;
  public int dtcTransformCaps;
  public int bClipping;
  public int dlcLighting_Caps;
  public int dlcLighting_Model;
  public int dlcLighting_Number;
  public int dwDeviceRenderBitDepth;
  public int dwDeviceZBufferBitDepth;
  public int dwMaxBufferSize;
  public int dwMaxVertexCount;
}

Contains a description of the current device. This class is used to query the current device by such methods as GetCaps.

See also d3dDevice.

Fields

flags
One or more values of D3DDD_ type, specifying the fields of this class that contain valid data.
dcmColorModel
One value of D3DCOLOR_ type, specifying the color model for the device.
dwDevCaps
One or more values of D3DDEVCAPS_ type, specifying the capabilities of the device.
dtcTransformCaps
A value indicating the transformation capabilities of the device. Can be zero or D3DTRANSFORMCAPS_CLIP to specify the system clips while transforming.
bClipping
TRUE if the device can perform 3D clipping.
dlcLighting_Caps
A value of D3DLIGHTCAPS_ type, specifying the lighting capabilities of the device.
dlcLighting_Model
A value of D3DLIGHTINGMODEL_ type, specifying the lighting capabilities of the device.
dlcLighting_Number
Number of lights that can be handled.
dwDeviceRenderBitDepth
A value of DDBD_ type (in the range DDBD_8 thru DDBD_32), specifying the device's rendering bit-depth.
dwDeviceZBufferBitDepth
A value of DDBD_ type (in the range DDBD_8 thru DDBD_32), specifying the device's z-buffer bit-depth.
dwMaxBufferSize
Maximum size of the execute buffer for this device. If this field is 0, the application can use any size.
dwMaxVertexCount
Maximum vertex count for this device.


Top© 1996 Microsoft Corporation. All rights reserved.