Platform SDK: DirectX

ID3DXMatrixStack

Applications use the methods of the ID3DXMatrixStack interface to manipulate a matrix stack. This section is a reference to the methods of this interface.

The ID3DXMatrixStack interface is obtained by calling the D3DXCreateMatrixStack function.

The methods of the ID3DXMatrixStack interface can be organized into the following groups:

Matrix Multiplication MultMatrix
  MultMatrixLocal
Miscellaneous GetTop
  LoadIdentity
LoadMatrix
Pop
Push
Rotation RotateAxis
  RotateAxisLocal
RotateYawPitchRoll
RotateYawPitchRollLocal
Scaling Scale
  ScaleLocal
Translation Translate
  TranslateLocal

The ID3DXMatrixStack interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:

IUnknown AddRef
  QueryInterface
Release

Requirements

  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.