|
Class D3dFindDeviceSearch
public final class D3dFindDeviceSearch
{
// Fields
public int alphaCmpCaps;
public int caps;
public int dcmColorModel;
public int destBlendCaps;
public int flags;
public int hardware;
public int miscCaps;
public int rasterCaps;
public int shadeCaps;
public int srcBlendCaps;
public int stippleHeight;
public int stippleWidth;
public int textureAddressCaps;
public int textureBlendCaps;
public int textureCaps;
public int textureFilterCaps;
public int zCmpCaps;
// Methods
public _Guid getGuid();
public void setGuid(_Guid g);
}
Contains a description of a device to search for.
Also see com.ms.directX.D3dFindDeviceResult
public _Guid getGuid();
Retrieves the globally unique identifier (GUID) for the device.
Return Value: Returns the globally unique identifier.
public void setGuid(_Guid g);
This method is currently not implemented.
Return Value: No return value.
Parameter | Description |
_Guid
| The globally unique identifier.
|
- alphaCmpCaps
- One or more values of D3DPCMPCAPS_ type, specifying the alpha-test comparison functions that the driver can perform.
- caps
- One or more flags of D3DDEVCAPS_ type, specifying the capabilities of the device.
- dcmColorModel
- One value of D3DCOLOR_ type, specifying whether the device to find should use the ramp or RGB color model.
- destBlendCaps
- One or more values of D3DPBLENDCAPS_ type, specifying the destination blending capabilities.
- flags
- One or more values of D3DFDS_ type, defining the type of device the application wants to find.
- hardware
- Flag specifying whether the device to find is implemented as hardware or software. If this member is true, the device to search for has hardware rasterization and may also provide other hardware acceleration. Applications that use this flag should set the D3DFDS_HARDWARE bit in the flags field.
- miscCaps
- One or more values of D3DPMISCCAPS_ type, specifying the general capabilities for primitives.
- rasterCaps
- One or more values of D3DPRASTERCAPS_ type, specifying information on raster-drawing capabilities.
- shadeCaps
- One or more values of D3DPSHADECAPS_ type, 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.
- srcBlendCaps
- One or more values of D3DPBLENDCAPS_ type, specifying the source blending capabilities.
- stippleHeight
- Maximum height of the supported stipple (up to 32).
- stippleWidth
- Maximum width of the supported stipple (up to 32).
- textureAddressCaps
- One or more values of D3DPTADDRESSCAPS_ type, specifying texture-addressing capabilities.
- textureBlendCaps
- One or more values of D3DPTBLENDCAPS_ type, specifying texture-blending capabilities.
- textureCaps
- One or more values of D3DPTEXTURECAPS_ type, specifying miscellaneous texture-mapping capabilities.
- textureFilterCaps
- One or more values of D3DPTFILTERCAPS_ type, specifying texture-mapping capabilities.
- zCmpCaps
- One or more values of D3DPCMPCAPS_ type, specifying the z-buffer comparison functions that the driver can perform.
|