|
Package com.ms.com.directX |
|
 Previous |
 Microsoft Packages |
 Index |
 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 D3DDD_ values specifying the fields of this class that contain valid data.
- dcmColorModel
- A D3DCOLOR_ value specifying the color model for the device.
- dwDevCaps
- One or more D3DDEVCAPS_ values specifying the capabilities of the device.
- dtcTransformCaps
- A value indicating the transformation capabilities of the device. Can be 0 or D3DTRANSFORMCAPS_CLIP to specify that the system clips while transforming.
- bClipping
- TRUE if the device can perform 3D clipping.
- dlcLighting_Caps
- A D3DLIGHTCAPS_ value specifying the lighting capabilities of the device.
- dlcLighting_Model
- A D3DLIGHTINGMODEL_ value specifying the lighting capabilities of the device.
- dlcLighting_Number
- Number of lights that can be handled.
- dwDeviceRenderBitDepth
- A DDBD_ value (in the range DDBD_8 through DDBD_32) specifying the device's rendering bit-depth.
- dwDeviceZBufferBitDepth
- A DDBD_ value (in the range DDBD_8 through 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.