description | ms.assetid | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ID3DXMATRIXStack interface - Applications use the methods of the ID3DXMATRIXStack interface to manipulate a matrix stack. |
4d382d39-a9da-4a3b-b7b6-d6890357d467 |
ID3DXMATRIXStack interface (D3dx9math.h) |
reference |
05/31/2018 |
|
|
|
|
Note
The D3DX utility library is deprecated. We recommend that you use DirectXMath instead along with this header from GitHub.
Applications use the methods of the ID3DXMATRIXStack interface to manipulate a matrix stack.
The ID3DXMATRIXStack interface inherits from the IUnknown interface. ID3DXMATRIXStack also has these types of members:
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. |
The ID3DXMATRIXStack interface is obtained by calling the D3DXCreateMatrixStack function.
The LPD3DXMATRIXSTACK type is defined as a pointer to the ID3DXMATRIXStack interface.
typedef interface ID3DXMATRIXStack ID3DXMATRIXStack;
typedef interface ID3DXMATRIXStack *LPD3DXMATRIXSTACK;
Requirement | Value |
---|---|
Header |
|
Library |
|