ID3DXMatrixStack interface

Applications use the methods of the ID3DXMATRIXStack interface to manipulate a matrix stack.

Members

The ID3DXMatrixStack interface inherits from the IUnknown interface. ID3DXMatrixStack also has these types of members:

Methods

The ID3DXMatrixStack interface has these methods.

Method Description
GetTop Retrieves the current matrix at the top of the stack.
LoadIdentity Loads identity in the current matrix.
LoadMatrix Loads the given matrix into the current matrix.
MultMatrix Determines the product of the current matrix and the given matrix.
MultMatrixLocal Determines the product of the given matrix and the current matrix.
Pop Removes the current matrix from the top of the stack.
Push Adds a matrix to the stack.
RotateAxis Rotates (relative to world coordinate space) around an arbitrary axis.
RotateAxisLocal Rotates (relative to the object's local coordinate space) around an arbitrary axis.
RotateYawPitchRoll Rotates (relative to world coordinate space) around an arbitrary axis.
RotateYawPitchRollLocal Rotates (relative to the object's local coordinate space) around an arbitrary axis.
Scale Scale the current matrix about the world coordinate origin.
ScaleLocal Scale the current matrix about the object origin.
Translate Determines the product of the current matrix and the computed translation matrix determined by the given factors (x, y, and z).
TranslateLocal Determines the product of the computed translation matrix determined by the given factors (x, y, and z) and the current matrix.

 

Remarks

The ID3DX10MATRIXStack interface is obtained by calling the D3DXCreateMatrixStack function.

The LPD3DX10MATRIXSTACK type is defined as a pointer to the ID3DXMatrixStack interface.

typedef interface ID3DXMatrixStack ID3DXMatrixStack;
typedef interface ID3DXMatrixStack *LPD3DXMATRIXSTACK;

Requirements

Header
D3DX10.h
Library
D3DX10.lib

See also

D3DX Interfaces