Packages
 In this topic

*Methods

*Fields

 

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

 


Class D3dFindDeviceResult

public final class D3dFindDeviceResult
{
  // Fields
  public int clipping;
  public int dcmColorModel;
  public int devCaps;
  public int deviceRenderBitDepth;
  public int deviceZBufferBitDepth;
  public int dlcLightingCaps;
  public int dlcLightingModel;
  public int dlcLightingNumber;
  public int dtcTransformCaps;
  public int flags;
  public int lineAlphaCmpCaps;
  public int lineDestBlendCaps;
  public int lineMiscCaps;
  public int lineRasterCaps;
  public int lineShadeCaps;
  public int lineSrcBlendCaps;
  public int lineStippleHeight;
  public int lineStippleWidth;
  public int lineTextureAddressCaps;
  public int lineTextureBlendCaps;
  public int lineTextureCaps;
  public int lineTextureFilterCaps;
  public int lineZCmpCaps;
  public int maxBufferSize;
  public int maxVertexCount;
  public int triAlphaCmpCaps;
  public int triDestBlendCaps;
  public int triMiscCaps;
  public int triRasterCaps;
  public int triShadeCaps;
  public int triSrcBlendCaps;
  public int triStippleHeight;
  public int triStippleWidth;
  public int triTextureAddressCaps;
  public int triTextureBlendCaps;
  public int triTextureCaps;
  public int triTextureFilterCaps;
  public int triZCmpCaps;

  // Methods
  public _Guid GetGuid();
}

Contains a description of the current device. This class is used to query the current device by such methods as Direct3dDevice.getCaps and Direct3d.findDevice.

Methods

GetGuid

public _Guid GetGuid();

Retrieves the globally unique identifier (GUID) for the device.

Return Value:

Returns the globally unique identifier.

Fields

clipping
TRUE if the hardware device can perform 3D clipping.
dcmColorModel
One value of D3DCOLOR_ type, specifying the color model for the hardware device.
devCaps
One or more flags of D3DDEVCAPS_ type, specifying the capabilities of the hardware device.
deviceRenderBitDepth
The device's rendering bit depth. This can be one or more of the following DirectDraw bit depth constants: DDBD_8, DDBD_16, DDBD_24, or DDBD_32.
deviceZBufferBitDepth
The device's z-buffer bit depth. This can be one or more of the following DirectDraw bit depth constants: DDBD_8, DDBD_16, DDBD_24, or DDBD_32.
dlcLightingCaps
A value of D3DLIGHTCAPS_ type, specifying the lighting capabilities of the hardware device.
dlcLightingModel
A value of D3DLIGHTINGMODEL_ type, specifying the lighting capabilities of the hardware device.
dlcLightingNumber
Number of lights that can be handled.
dtcTransformCaps
A value indicating the transformation capabilities of the hardware device. Can be zero or D3DTRANSFORMCAPS_CLIP to specify the system clips while transforming.
flags
Flags identifying the members of this class that contain valid data. These flags are D3DDD_ constants.
lineAlphaCmpCaps
Alpha-test comparison functions that a driver can perform. This member can be any of the combinations valid for lineZCmpCaps.
lineDestBlendCaps
Destination blending capabilities. This member can be any of the combinations valid for lineSrcBlendCaps.
lineMiscCaps
The general capabilities for this primitive. This may be one or more of the D3DPMISCCAPS_ types.
lineRasterCaps
Information on raster-drawing capabilities. This may be one or more of the D3DPRASTERCAPS_ types.
lineShadeCaps
Shading operations that the device can perform. It is assumed, in general, that if a device supports a given command (such as D3DOP_TRIANGLE) at all, it supports the D3DSHADE_FLAT mode (as specified in D3DSHADEMODE). This flag specifies whether the driver can also support Gouraud and Phong shading and whether alpha color components are supported for each of the three color-generation modes. When alpha components are not supported in a given mode, the alpha value of colors generated in that mode is implicitly 255. This is the maximum possible alpha (that is, the alpha component is at full intensity).

The color, specular highlights, fog, and alpha interpolants of a triangle each have capability flags that an application can use to find out how they are implemented by the device driver. These are modified by the shade mode, color model, and by whether the alpha component of a color is blended or stippled.

This member can be one or more of D3DPSHADECAPS_ types.

lineSrcBlendCaps
Source blending capabilities. This member can be one or more of the D3DPBLENDCAPS_ types.
lineStippleHeight
The maximum height of the supported stipple (up to 32-by-32).
lineStippleWidth
The maximum width of the supported stipple (up to 32-by-32).
lineTextureAddressCaps
Texture-addressing capabilities. This member can be one or more of the D3DPTADDRESSCAPS_ types.
lineTextureBlendCaps
Texture-blending capabilities. This member can be one or more of the D3DPTBLENDCAPS_ types.
lineTextureCaps
Miscellaneous texture-mapping capabilities. This member can be one or more of the D3DPTEXTURECAPS_ types.
lineTextureFilterCaps
Texture-mapping capabilities. This member can be one or more of the D3DPTFILTERCAPS_ types.
lineZCmpCaps
The z-buffer comparison functions that a driver may perform. This member can be one or more of the D3DPCMPCAPS_ types.
maxBufferSize
The maximum size of the execute buffer for this device. If this member is 0, the application can use any size buffer.
maxVertexCount
The maximum vertex count for the device.
triAlphaCmpCaps
Alpha-test comparison functions that a driver can perform. This member can be any of the combinations valid for lineZCmpCaps.
triDestBlendCaps
Destination blending capabilities. This member can be any of the combinations valid for triSrcBlendCaps.
triMiscCaps
The general capabilities for this primitive. This member can be one or more of the D3DPMISCCAPS_ types.
triRasterCaps
Information on raster-drawing capabilities. This may be one or more of the D3DPRASTERCAPS_ types.
triShadeCaps
Shading operations that the device can perform. It is assumed, in general, that if a device supports a given command (such as D3DOP_TRIANGLE) at all, it supports the D3DSHADE_FLAT mode (as specified in D3DSHADEMODE). This flag specifies whether the driver can also support Gouraud and Phong shading and whether alpha color components are supported for each of the three color-generation modes. When alpha components are not supported in a given mode, the alpha value of colors generated in that mode is implicitly 255. This is the maximum possible alpha (that is, the alpha component is at full intensity).

The color, specular highlights, fog, and alpha interpolants of a triangle each have capability flags that an application can use to find out how they are implemented by the device driver. These are modified by the shade mode, color model, and by whether the alpha component of a color is blended or stippled.

This member can be one or more of D3DPSHADECAPS_ types.

triSrcBlendCaps
Source blending capabilities. This member can be one or more of the D3DPBLENDCAPS_ types.
triStippleHeight
The maximum width and height of the supported stipple (up to 32-by-32).
triStippleWidth
triTextureAddressCaps
Texture-addressing capabilities. This member can be one or more of the D3DPTADDRESSCAPS_ types.
triTextureBlendCaps
Texture-blending capabilities. This member can be one or more of the D3DPTBLENDCAPS_ types.
triTextureCaps
Miscellaneous texture-mapping capabilities. This member can be one or more of the D3DPTEXTURECAPS_ types.
triTextureFilterCaps
Texture-mapping capabilities. This member can be one or more of the D3DPTFILTERCAPS_ types.
triZCmpCaps
The z-buffer comparison functions that a driver may perform. This member can be one or more of the D3DPCMPCAPS_ types.

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