DXUTDeviceSettings

Describes the settings needed to create a Direct3D device.

typedef struct DXUTDeviceSettings {
    UINT AdapterOrdinal;
    D3DDEVTYPE DeviceType;
    D3DFORMAT AdapterFormat;
    DWORD BehaviorFlags;
    D3DPRESENT_PARAMETERS pp;
} DXUTDeviceSettings, *LPDXUTDeviceSettings;

Members

AdapterOrdinal
Ordinal number that denotes the display adapter.
DeviceType
Enumerated type of the device. See D3DDEVTYPE.
AdapterFormat
Adapter surface format. See D3DFORMAT.
BehaviorFlags
Behavior flags. This member can be a combination of one or more of the D3DCREATE values.
pp
Presentation parameters structure. See D3DPRESENT_PARAMETERS.

See Also

Modifying Available Device Settings