XMPlaneTransformStream

Transforms a stream of planes by a given matrix.

Syntax

XMFLOAT4* XMPlaneTransformStream(
         XMFLOAT4 *pOutputStream,
         UINT OutputStride,
         CONST XMFLOAT4 *pInputStream,
         UINT InputStride,
         UINT PlaneCount,
         XMMATRIX M
)

Parameters

  • pOutputStream
    [out] Address of the first XMFLOAT4 in the destination stream. The components of each XMFLOAT4 are the the plane coefficients (A, B, C, D) for the plane equation Ax+By+Cz+D=0.
  • OutputStride
    [in] Stride, in bytes, between planes in the destination stream.
  • pInputStream
    [in] Address of the first XMFLOAT4 in the stream to be transformed. The components of each XMFLOAT4 are the plane coefficients (A, B, C, D) for the plane equation Ax+By+Cz+D=0.
  • InputStride
    [in] Stride, in bytes, between planes in the input stream.
  • PlaneCount
    [in] Number of planes to transform.
  • M
    [in] Transformation matrix.

Return Value

Returns the address of the first XMFLOAT4 in the destination stream. The components of each XMFLOAT4 are the plane coefficients (A, B, C, D) for the plane equation Ax+By+Cz+D=0.

Requirements

Header: Declared in xnamath.h.

See Also

XMPlaneTransform