Share via


CreateOptions Enumeration

Defines options to control the focus behavior and vertex processing of a graphics device.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

[FlagsAttribute]
public enum CreateOptions

Members

  Member name Description
HardwareVertexProcessing Specifies hardware vertex processing. If a GraphicsDevice is created with this option, vertex processing is done in hardware and cannot be changed.
MixedVertexProcessing Specifies mixed vertex processing (both software and hardware). If a GraphicsDevice is created with this option, vertex processing is done in hardware by default, and can be switched between software and hardware. An application can create a mixed-mode GraphicsDevice to use both software and hardware vertex processing. Use this property to switch between the two vertex processing modes.
None No options specified.
NoWindowChanges Indicates to the Microsoft Direct3D runtime not to alter the focus window in any way. Use with caution! The burden of supporting focus management events (ALT+TAB, and so on) falls on the application, and appropriate responses (switching display mode, and so on) should be coded.
SinglePrecision Forces single-precision processing, setting the floating-point unit to single-precision round-to-nearest mode.
SingleThreaded Forces single-threaded processing.
SoftwareVertexProcessing Specifies software vertex processing. If a GraphicsDevice is created with this option, vertex processing is done in software and cannot be changed.

See Also

Reference

Microsoft.Xna.Framework.Graphics Namespace
GraphicsDevice Constructor
GraphicsDevice.SoftwareVertexProcessing Property
GraphicsDeviceCreationParameters Constructor
GraphicsDeviceCreationParameters.CreationOptions Property

Platforms

Xbox 360, Windows XP SP2, Windows Vista