Package com.ms.com.directX |
![]() Previous |
![]() Microsoft Packages |
![]() Index |
![]() Next |
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
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.