DXUT_MATCH_TYPE
Microsoft DirectX 9.0 SDK Update (October 2004)

DXUT_MATCH_TYPE Enumerated Type


Describes how to match input device settings when creating a new device with a function.

Syntax

typedef enum _DXUT_MATCH_TYPE {
    DXUTMT_IGNORE_INPUT = 0,
    DXUTMT_PRESERVE_INPUT,
    DXUTMT_CLOSEST_TO_INPUT
} DXUT_MATCH_TYPE;

Constants

DXUTMT_IGNORE_INPUT

Ignore the device setting input, and return a device setting as close as possible to a default device setting.

DXUTMT_PRESERVE_INPUT

Return without changing the device setting that was given as input to the function. However, the DXUTFindValidDeviceSettings function will fail if no valid device is found.

DXUTMT_CLOSEST_TO_INPUT

Return a device setting as close as possible to the device setting that was given as input to the function.

Enumerated Type Information

Headerdxut.h
Minimum operating systems Windows 98

See Also

DXUTMatchOptions, DXUTFindValidDeviceSettings, DXUTCreateDeviceFromSettings


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.