ID3D10EffectMatrixVariable::SetMatrixTransposeArray method (d3d10effect.h)

Transpose and set an array of floating-point matrices.

Syntax

HRESULT SetMatrixTransposeArray(
  [in] float *pData,
  [in] UINT  Offset,
  [in] UINT  Count
);

Parameters

[in] pData

Type: float*

A pointer to an array of matrices.

[in] Offset

Type: UINT

The offset (in number of matrices) between the start of the array and the first matrix to set.

[in] Count

Type: UINT

The number of matrices in the array to set.

Return value

Type: HRESULT

Returns one of the following Direct3D 10 Return Codes.

Remarks

Transposing a matrix will rearrange the data order from row-column order to column-row order (or vice versa).

Requirements

Requirement Value
Target Platform Windows
Header d3d10effect.h

See also

ID3D10EffectMatrixVariable Interface