Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DirectXMath Library Constants

The following constants are provided by the DirectXMath Library.

ConstantDescription

DIRECTXMATH_VERSION

The version of the DirectXMath Library. The initial preview release was 300, the Windows 8 final version is 303, the Windows 8.1 version is 305. XNA Math's versions were 200, 201, 202, 203, 204, and so on. This is defined as a preprocessor symbol.

XM_PI

An optimal representation of π.

XM_2PI

An optimal representation of 2*π.

XM_1DIVPI

An optimal representation of 1/π.

XM_1DIV2PI

An optimal representation of 2/π.

XM_PIDIV2

An optimal representation of π/2.

XM_PIDIV4

An optimal representation of π/4.

XM_PERMUTE_0X

A constant used as an element index with XMVectorPermute. This indicates that the X component of the first of the vector arguments to XMVectorPermute is to be copied to the index location in a result vector corresponding to the specified element.

XM_PERMUTE_0Y

A constant used as an element index with XMVectorPermute. This indicates that the Y component of the first of the vector arguments to XMVectorPermute is to be copied to the index location in a result vector corresponding to the specified element.

XM_PERMUTE_0Z

A constant used as an element index with XMVectorPermute. This indicates that the Z component of the first of the vector arguments to XMVectorPermute is to be copied to the index location in a result vector corresponding to the specified element.

XM_PERMUTE_0W

A constant used as an element index with XMVectorPermute. This indicates that the W component of the first of the vector arguments to XMVectorPermute is to be copied to the index location in a result vector corresponding to the specified element.

XM_PERMUTE_1X

A constant used as an element index with XMVectorPermute. This indicates that the X component of the second of the vector arguments to XMVectorPermute is to be copied to the index location in a result vector corresponding to the specified element.

XM_PERMUTE_1Y

A constant used as an element index with XMVectorPermute. This indicates that the Y component of the second of the vector arguments to XMVectorPermute is to be copied to the index location in a result vector corresponding to the specified element.

XM_PERMUTE_1Z

A constant used as an element index with XMVectorPermute. This indicates that the Z component of the second of the vector arguments to XMVectorPermute is to be copied to the index location in a result vector corresponding to the specified element.

XM_PERMUTE_1W

A constant used as an element index with XMVectorPermute. This indicates that the W component of the second of the vector arguments to XMVectorPermute is to be copied to the index location in a result vector corresponding to the specified element.

XM_SELECT_0

A constant used to construct a control vector used with XMVectorSelect. Indicates that the component of the first of the vector arguments to XMVectorSelect is to be copied to the index location in a result vector corresponding to its index in the control vector.

For example, a control vector with XM_SELECT_0 as its second component copies the second component of the first vector to the second component of the result vector.

XM_SELECT_1

A constant used to construct a control vector used with XMVectorSelect. Indicates that the component of the second of the vector arguments to XMVectorSelect is to be copied to the index location in a result vector corresponding to its index in the control vector.

For example, a control vector with XM_SELECT_1 as its second component copies the second component of the second vector to the second component of the result vector.

XM_SWIZZLE_X

A constant used as an element index with XMVectorSwizzle. This indicates that the X component of the vector argument to XMVectorSwizzle is to be copied to the index location in a result vector corresponding to the specified element.

XM_SWIZZLE_Y

A constant used as an element index with XMVectorSwizzle. This indicates that the Y component of the vector argument to XMVectorSwizzle is to be copied to the index location in a result vector corresponding to the specified element.

XM_SWIZZLE_Z

A constant used as an element index with XMVectorSwizzle. This indicates that the Z component of the vector argument to XMVectorSwizzle is to be copied to the index location in a result vector corresponding to the specified element.

XM_SWIZZLE_W

A constant used as an element index with XMVectorSwizzle. This indicates that the W component of the vector argument to XMVectorSwizzle is to be copied to the index location in a result vector corresponding to the specified element.

XM_CRMASK_CR6

Mask to get a comparison result, which is typically retrieved using a recording version of an DirectXMath function such XMVector4EqualR. The following example gets the comparison result from the variable CR:

uint32_t val = ((CR) & XM_CRMASK_CR6);

XM_CRMASK_CR6TRUE

Mask to get a comparison result, and verify if it is a logical true. The value is typically retrieved using a recording version of a DirectXMath function such as XMVector4EqualR. The example checks if the variableq CR is true:

bool val = (((CR) & XM_CRMASK_CR6FALSE) == XM_CRMASK_CR6FALSE);
See also XMComparisonAnyTrue, XMComparisonAllTrue, and XMComparisonMixed

XM_CRMASK_CR6FALSE

Mask to get a comparison result, and verify if it is a logical false. The value is typically retrieved using a recording version of an DirectXMath math function such as XMVector4EqualR. The example checks if the variable CR is false:

bool val = (((CR) & XM_CRMASK_CR6FALSE) == XM_CRMASK_CR6FALSE);
See also XMComparisonAnyFalse, XMComparisonAllFalse and XMComparisonMixed

XM_CRMASK_CR6BOUNDS

Mask to get a comparison result, and verify if the result indicates that some of the inputs were out of bounds. The value is typically retrieved using a recording version of a DirectXMath function such as XMVector4EqualR. The example checks if the variable CR indicates and out of bounds state.

bool val = (((CR) & XM_CRMASK_CR6BOUNDS) == XM_CRMASK_CR6BOUNDS);
See also XMComparisonAllInBounds and XMComparisonAnyOutOfBounds
Colors::AliceBlueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::AntiqueWhiteConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::AquaConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::AquamarineConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::AzureConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::BeigeConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::BisqueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::BlackConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::BlanchedAlmondConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::BlueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::BlueVioletConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::BrownConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::BurlyWoodConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::CadetBlueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::ChartreuseConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::ChocolateConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::CoralConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::CornflowerBlueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::CornsilkConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::CrimsonConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::CyanConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DarkBlueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DarkCyanConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DarkGoldenrodConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DarkGrayConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DarkGreenConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DarkKhakiConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DarkMagentaConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DarkOliveGreenConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DarkOrangeConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DarkOrchidConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DarkRedConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DarkSalmonConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DarkSeaGreenConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DarkSlateBlueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DarkSlateGrayConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DarkTurquoiseConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DarkVioletConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DeepPinkConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DeepSkyBlueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DimGrayConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::DodgerBlueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::FirebrickConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::FloralWhiteConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::ForestGreenConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::FuchsiaConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::GainsboroConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::GhostWhiteConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::GoldConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::GoldenrodConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::GrayConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::GreenConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::GreenYellowConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::HoneydewConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::HotPinkConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::IndianRedConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::IndigoConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::IvoryConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::KhakiConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LavenderConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LavenderBlushConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LawnGreenConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LemonChiffonConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LightBlueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LightCoralConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LightCyanConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LightGoldenrodYellowConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LightGreenConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LightGrayConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LightPinkConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LightSalmonConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LightSeaGreenConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LightSkyBlueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LightSlateGrayConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LightSteelBlueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LightYellowConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LimeConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LimeGreenConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::LinenConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::MagentaConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::MaroonConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::MediumAquamarineConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::MediumBlueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::MediumOrchidConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::MediumPurpleConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::MediumSeaGreenConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::MediumSlateBlueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::MediumSpringGreenConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::MediumTurquoiseConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::MediumVioletRedConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::MidnightBlueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::MintCreamConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::MistyRoseConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::MoccasinConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::NavajoWhiteConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::NavyConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::OldLaceConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::OliveConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::OliveDrabConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::OrangeConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::OrangeRedConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::OrchidConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::PaleGoldenrodConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::PaleGreenConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::PaleTurquoiseConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::PaleVioletRedConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::PapayaWhipConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::PeachPuffConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::PeruConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::PinkConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::PlumConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::PowderBlueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::PurpleConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::RedConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::RosyBrownConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::RoyalBlueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::SaddleBrownConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::SalmonConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::SandyBrownConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::SeaGreenConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::SeaShellConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::SiennaConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::SilverConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::SkyBlueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::SlateBlueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::SlateGrayConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::SnowConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::SpringGreenConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::SteelBlueConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::TanConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::TealConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::ThistleConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::TomatoConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::TransparentConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::TurquoiseConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::VioletConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::WheatConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::WhiteConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::WhiteSmokeConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::YellowConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.
Colors::YellowGreenConstants for the standard .NET color definitions. These values are R, G, B data that can be used as XMVECTOR's or passed directly to the Direct3D 10.x / Direct3D 11 API's Clear method.

 

Note  

All the Colors constants are defined in the standard sRGB color space (as are .NET colors and HTML web-safe colors). For gamma-correct rendering using linear color space, the values need to be adjusted slightly.

 

Related Topics

DirectXMath Programming Reference

Related topics

DirectXMath Programming Reference

 

 

Show:
© 2017 Microsoft