Platform SDK: DirectX |
The ID3DXMatrixStack::LoadMatrix method loads the given matrix into the current matrix.
HRESULT LoadMatrix( const D3DXMATRIX* pMat );
If this method is successful, it returns S_OK; otherwise, it returns D3DXERR_NULLPOINTER.
Note that this method does not add an item to the stack; rather; it replaces the current matrix with the supplied matrix.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Version: Requires DirectX 7.0.
Header: Declared in d3dxmath.h.
Library: Use d3dx.lib.