Click to Rate and Give Feedback
MSDN
MSDN Library
DirectX
SDK Documentation
DirectX Graphics
Direct3D 10
Reference
Direct3D
Core
Enumerations
 D3D10_CREATE_DEVICE_FLAG

  Switch on low bandwidth view
D3D10_CREATE_DEVICE_FLAG
Bb204909.XDK_CHM_BANNER_left(en-us,VS.85).jpgBb204909.XDK_CHM_BANNER_right(en-us,VS.85).jpg

D3D10_CREATE_DEVICE_FLAG

Device creation flags.

typedef enum D3D10_CREATE_DEVICE_FLAG
{
    D3D10_CREATE_DEVICE_SINGLETHREADED = 0x1,
    D3D10_CREATE_DEVICE_DEBUG = 0x2,
    D3D10_CREATE_DEVICE_SWITCH_TO_REF = 0x4,
    D3D10_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS = 0x8,
} D3D10_CREATE_DEVICE_FLAG;

Constants

D3D10_CREATE_DEVICE_SINGLETHREADED
Create a single-threaded device. See remarks.
D3D10_CREATE_DEVICE_DEBUG
Create a device that supports the debug layer.
D3D10_CREATE_DEVICE_SWITCH_TO_REF
Create both a software (REF) and hardware (HAL) version of the device simultaneously, which allows an application to switch to a reference device to enable debugging. See ID3D10SwitchToRef Interface for more information.
D3D10_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS
Reserved.

Remarks

Device creation flags are used by D3D10CreateDevice and D3D10CreateDeviceAndSwapChain.

By default, all Direct3D 10 calls are handled in a thread-safe way. By creating a single-threaded device, you disable thread-safe calling.

Requirements

Header: Declared in D3D10.h.

Library: Use D3D10.lib.

See Also

Core Enumerations

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker