directxpackedvector.h header

This header is used by DirectXMath. For more information, see:

directxpackedvector.h contains the following programming interfaces:

Functions

 
XMConvertFloatToHalf

Converts a single-precision floating-point value to a half-precision floating-point value.
XMConvertFloatToHalfStream

Converts a stream of single-precision floating-point values to a stream of half-precision floating-point values.
XMConvertHalfToFloat

Converts a half-precision floating-point value to a single-precision floating-point value.
XMConvertHalfToFloatStream

Converts a stream of half-precision floating-point values to a stream of single-precision floating-point values.
XMLoadByte2

Loads an XMBYTE2 into an XMVECTOR.
XMLoadByte4

Loads an XMBYTE4 into an XMVECTOR.
XMLoadByteN2

Loads an XMBYTEN2 into an XMVECTOR.
XMLoadByteN4

Loads an XMBYTEN4 into an XMVECTOR.
XMLoadColor

Loads an XMCOLOR into an XMVECTOR.
XMLoadDec4

Loads an XMDEC4 into an XMVECTOR.
XMLoadDecN4

Loads an XMDECN4 into an XMVECTOR.
XMLoadFloat3PK

Loads an XMFLOAT3PK into an XMVECTOR.
XMLoadFloat3SE

Loads an XMFLOAT3SE into an XMVECTOR.
XMLoadHalf2

Loads an XMHALF2 into an XMVECTOR.
XMLoadHalf4

Loads an XMHALF4 into an XMVECTOR.
XMLoadShort2

Loads an XMSHORT2 into an XMVECTOR.
XMLoadShort4

Loads an XMSHORT4 into an XMVECTOR.
XMLoadShortN2

Loads an XMSHORTN2 into an XMVECTOR.
XMLoadShortN4

Loads an XMSHORTN4 into an XMVECTOR.
XMLoadU555

Loads an XMU555 into an XMVECTOR.
XMLoadU565

Loads an XMU565 into an XMVECTOR.
XMLoadUByte2

Loads an XMUBYTE2 into an XMVECTOR.
XMLoadUByte4

Loads an XMUBYTE4 into an XMVECTOR.
XMLoadUByteN2

Loads an XMUBYTEN2 into an XMVECTOR.
XMLoadUByteN4

Loads an XMUBYTEN4 into an XMVECTOR.
XMLoadUDec4

Loads an XMUDEC4 into an XMVECTOR.
XMLoadUDecN4

Loads an XMUDECN4 into an XMVECTOR.
XMLoadUDecN4_XR

Loads an extended range XMUDECN4 into an XMVECTOR.
XMLoadUNibble4

Loads an XMUNIBBLE4 into an XMVECTOR.
XMLoadUShort2

Loads an XMUSHORT2 into an XMVECTOR.
XMLoadUShort4

Loads an XMUSHORT4 into an XMVECTOR.
XMLoadUShortN2

Loads an XMUSHORTN2 into an XMVECTOR.
XMLoadUShortN4

Loads an XMUSHORTN4 into an XMVECTOR.
XMLoadXDec4

Loads an XMXDEC4 into an XMVECTOR.
XMLoadXDecN4

Loads an XMXDECN4 into an XMVECTOR.
XMStoreByte2

Stores an XMVECTOR in an XMBYTE2.
XMStoreByte4

Stores an XMVECTOR in an XMBYTE4.
XMStoreByteN2

Stores an XMVECTOR in an XMBYTEN2.
XMStoreByteN4

Stores an XMVECTOR in an XMBYTEN4.
XMStoreColor

Stores an XMVECTOR in an XMCOLOR.
XMStoreDec4

Stores an XMVECTOR in an XMDEC4.
XMStoreDecN4

Stores an XMVECTOR in an XMDECN4.
XMStoreFloat3PK

Stores an XMVECTOR in a XMFLOAT3PK.
XMStoreFloat3SE

Stores an XMVECTOR in an XMFLOAT3SE.
XMStoreHalf2

Stores an XMVECTOR in an XMHALF2.
XMStoreHalf4

Stores an XMVECTOR in an XMHALF4.
XMStoreShort2

Stores an XMVECTOR in an XMSHORT2.
XMStoreShort4

Stores an XMVECTOR in an XMSHORT4.
XMStoreShortN2

Stores an XMVECTOR in an XMSHORTN2.
XMStoreShortN4

Stores an XMVECTOR in an XMSHORTN4.
XMStoreU555

Stores an XMVECTOR in an XMU555.
XMStoreU565

Stores an XMVECTOR in an XMU565.
XMStoreUByte2

Stores an XMVECTOR in an XMUBYTE2.
XMStoreUByte4

Stores an XMVECTOR in an XMUBYTE4.
XMStoreUByteN2

Stores an XMVECTOR in an XMUBYTEN2.
XMStoreUByteN4

Stores an XMVECTOR in an XMUBYTEN4.
XMStoreUDec4

Stores an XMVECTOR in an XMUDEC4.
XMStoreUDecN4

Stores an XMVECTOR in an XMUDECN4.
XMStoreUDecN4_XR

Stores an extended range XMUDECN4 into an XMVECTOR.
XMStoreUNibble4

Stores an XMVECTOR in an XMUNIBBLE4.
XMStoreUShort2

Stores an XMVECTOR in an XMUSHORT2.
XMStoreUShort4

Stores an XMVECTOR in an XMUSHORT4.
XMStoreUShortN2

Stores an XMVECTOR in an XMUSHORTN2.
XMStoreUShortN4

Stores an XMVECTOR in an XMUSHORTN4.
XMStoreXDec4

Stores an XMVECTOR in an XMXDEC4.
XMStoreXDecN4

Stores an XMVECTOR in an XMXDECN4.

Structures

 
XMBYTE2

A 2D vector where each component is a signed integer, 8-bits (1 byte) in length.
XMBYTE4

A 4D vector where each component is a signed integer, 8-bits (1 byte) in length.
XMBYTEN2

A 2D vector for storing signed, normalized values as signed 8-bits (1 byte) integers.
XMBYTEN4

A 3D vector for storing signed, normalized values as signed 8-bits (1 byte) integers.
XMCOLOR

A 32-bit Alpha Red Green Blue (ARGB) color vector, where each color channel is specified as an unsigned 8 bit integer.
XMDEC4

A 4D vector with x-,y-, and z- components represented as 10 bit signed integer values, and the w-component as a 2 bit signed integer value.
XMDECN4

A 4D vector for storing signed, normalized values as 10 bit signed x-,y-, and z- components and a 2 bit signed w-component.
XMFLOAT3PK

Describes a 3D vector with X and Y components stored as 11 bit floating point number, and Z component stored as a 10 bit floating-point value.
XMFLOAT3SE

Describes a 3D vector of three floating-point components with 9 bit mantissas, each sharing the same 5-bit exponent.
XMHALF2

A 2D vector consisting of two half-precision (16bit) floating-point values.
XMHALF4

Describes a 4D vector consisting of four half-precision (16-bit) floating-point values.
XMSHORT2

Describes a 2D vector consisting of 16-bit signed and normalized integer components.
XMSHORT4

A 4D vector consisting of 16-bit signed integer components.
XMSHORTN2

A 2D vector for storing signed, normalized values as signed 16-bit integers (type int16_t).
XMSHORTN4

A 4D vector for storing signed, normalized values as signed 16-bit integers, (type int16_t).
XMU555

A 4D vector with x-,y-, and z- components represented as 5 bit unsigned integer values, and the w-component as a 1 bit integer value.
XMU565

A 3D vector with x- and z- components represented as 5-bit unsigned integer values, and the y- component as a 6-bit unsigned integer value.
XMUBYTE2

Describes a 2D vector where each component is a unsigned integer, 8-bits (1 byte) in length.
XMUBYTE4

Describes a 4D vector where each component is a unsigned integer, 8-bits (1 byte) in length.
XMUBYTEN2

A 2D vector for storing unsigned, normalized values as signed 8-bits (1 byte) integers.
XMUBYTEN4

A 3D vector for storing unsigned, normalized values as signed 8-bits (1 byte) integers.
XMUDEC4

A 4D vector with x-,y-, and z- components represented as 10 bit unsigned integer values, and the w-component as a 2 bit unsigned integer value.
XMUDECN4

A 4D vector for storing unsigned, normalized integer values as 10 bit unsigned x-, y-, and z-components and a 2-bit unsigned w-component.
XMUNIBBLE4

A 4D vector with four unsigned 4-bit integer components.
XMUSHORT2

Describes a 2D vector consisting of 16-bit unsigned integer components.
XMUSHORT4

A 4D vector consisting of 16-bit unsigned integer components.
XMUSHORTN2

A 2D vector for storing unsigned, normalized values as unsigned 16-bit integers, (type uint16_t).
XMUSHORTN4

A 4D vector for storing unsigned, normalized values as signed 16-bit integers (type uint16_t).
XMXDEC4

A 4D vector with x-,y-, and z- components represented as 10 bit signed integer values, and the w-component as a 2 bit unsigned integer value.
XMXDECN4

A 4D vector for storing signed, normalized values as 10 bit signed x-,y-, and z- components and an unsigned, normalized value as 2 bit unsigned w-component.