XMPlaneTransformStream

Transforms a stream of planes by a given matrix.

Syntax

XMFLOAT4* XMPlaneTransformStream(
         XMFLOAT4 *pOutputStream,
         size_t OutputStride,
         const XMFLOAT4 *pInputStream,
         size_t InputStride,
         size_t PlaneCount,
         CXMMATRIX M
)  

Parameters

pOutputStream
Type: XMFLOAT4 *

[out]

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.

OutputStride
Type: size_t 

[in]

Stride, in bytes, between planes in the destination stream.

pInputStream
Type: XMFLOAT4 *

[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
Type: size_t 

[in]

Stride, in bytes, between planes in the input stream.

PlaneCount
Type: size_t 

[in]

Number of planes to transform.

M
Type: CXMMATRIX 

[in]

The inverse transpose of the transformation matrix. For rotation only transforms, this is the same as the original transformation matrix.

Return value

Type: XMFLOAT4 *

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 directxmath.h.