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

Class d3dFindDeviceSearch

public final class d3dFindDeviceSearch { 
     public int dwSize;
     public int dwFlags;
     public int bHardware;
     public int dcmColorModel;
     public int data1;
     public short data2;
     public short data3;
     public int data4;
     public int data5;
     public int dwCaps;
     public int dwMiscCaps;
     public int dwRasterCaps;
     public int dwZCmpCaps;
     public int dwSrcBlendCaps;
     public int dwDestBlendCaps;
     public int dwAlphaCmpCaps;
     public int dwShadeCaps;
     public int dwTextureCaps;
     public int dwTextureFilterCaps;
     public int dwTextureBlendCaps;
     public int dwTextureAddressCaps;
     public int dwStippleWidth;
     public int dwStippleHeight;
}

Fields

dwSize
Size, in bytes, of this class.
dwFlags
One or more D3DFDS_ values defining the type of device the application is to search for.
bHardware
Flag specifying whether the device to find is implemented as hardware or software. If this member is TRUE, the application will search for a device with hardware rasterization and may also provide other hardware acceleration. Applications that use this flag should set the D3DFDS_HARDWARE bit in the dwFlags field.
dcmColorModel
A D3DCOLOR_ value specifying whether the device to find should use the ramp or RGB color model.
data1 thru data5
Globally unique identifier (GUID) of the device to find.
dwCaps
One or more D3DDEVCAPS_ flags specifying the capabilities of the device.
dwMiscCaps
One or more D3DPMISCCAPS_ values specifying the general capabilities for primitives.
dwRasterCaps
One or more D3DPRASTERCAPS_ values specifying information on raster-drawing capabilities.
dwZCmpCaps
One or more D3DPCMPCAPS_ values specifying the z-buffer comparison functions that the driver can perform.
dwSrcBlendCaps
One or more D3DPBLENDCAPS_ values specifying the source blending capabilities.
dwDestBlendCaps
One or more D3DPBLENDCAPS_ values specifying the destination blending capabilities.
dwAlphaCmpCaps
One or more D3DPCMPCAPS_ values specifying the alpha-test comparison functions that the driver can perform.
dwShadeCaps
One or more D3DPSHADECAPS_ values specifying the 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. 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.

dwTextureCaps
One or more D3DPTEXTURECAPS_ values specifying miscellaneous texture-mapping capabilities.
dwTextureFilterCaps
One or more D3DPTFILTERCAPS_ values specifying texture-mapping capabilities.
dwTextureBlendCaps
One or more D3DPTBLENDCAPS_ values specifying texture-blending capabilities.
dwTextureAddressCaps
One or more D3DPTADDRESSCAPS_ values specifying texture-addressing capabilities.
dwStippleWidth and dwStippleHeight
Maximum width and height, respectively, of the supported stipple (up to 32´32).


Top© 1997 Microsoft Corporation. All rights reserved. Terms of Use.