Platform SDK: DirectX |
The ID3DXMatrixStack::Push method adds a matrix to the stack.
HRESULT Push();
If this method is successful, it returns S_OK; otherwise, it returns D3DXERR_NOMEMORY.
This method increments the count of items on the stack by 1, duplicating the current matrix. The stack will grow dynamically as more items are added.
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.