XMVector2TransformStream

Transforms a stream of 2D vectors by a given matrix.

Syntax

XMFLOAT4* XMVector2TransformStream(
         XMFLOAT4 *pOutputStream,
         UINT OutputStride,
         CONST XMFLOAT2 *pInputStream,
         UINT InputStride,
         UINT VectorCount,
         XMMATRIX M
)

Parameters

  • pOutputStream
    [out] Address of the first XMFLOAT4 in the destination stream.
  • OutputStride
    [in] Stride, in bytes, between vectors in the destination stream.
  • pInputStream
    [in] Address of the first XMFLOAT2 in the stream to be transformed.
  • InputStride
    [in] Stride, in bytes, between vectors in the input stream.
  • VectorCount
    [in] Number of vectors to transform.
  • M
    [in] Transformation matrix.

Return Value

Returns the address of the first XMFLOAT4 in the destination stream.

Requirements

Header: Declared in xnamath.h.

See Also

XMVector2Transform
XMVector2TransformStreamNC