ID3DX11EffectMatrixVariable::SetMatrixArray method
Set an array of floating-point matrices.
Syntax
HRESULT SetMatrixArray(
float *pData,
UINT Offset,
UINT Count
);
Parameters
-
pData
-
Type: float*
A pointer to the first matrix.
-
Offset
-
Type: UINT
The number of matrix elements to skip from the start of the array.
-
Count
-
Type: UINT
The number of elements to set.
Return value
Type: HRESULT
Returns one of the following Direct3D 11 Return Codes.
Remarks
Note
The DirectX SDK does not supply any compiled binaries for effects. You must use Effects 11 source to build your effects-type application. For more information about using Effects 11 source, see Differences Between Effects 10 and Effects 11.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|