Platform SDK: DirectX |
The ID3DXMatrixStack::GetTop method returns the current matrix at the top of the stack.
D3DXMATRIX* GetTop();
This method returns a pointer to a D3DXMATRIX structure representing the current matrix.
The D3DXMATRIX pointer returned by this method is not guaranteed to be valid after subsequent stack operations.
Note that this method does not remove the current matrix from the top of the stack; rather; it just returns the current 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.