?/TD>
Microsoft DirectX 9.0

ID3DXMatrixStack::Pop Method


Removes the current matrix from the top of the stack.

Syntax

HRESULT Pop(VOID);

Return Value

If the method succeeds, the return value is D3D_OK.



Remarks

Note that this method decrements the count of items on the stack by 1, effectively removing the current matrix from the top of the stack and promoting a matrix to the top of the stack. If the current count of items on the stack is 0, then this method returns without performing any action. If the current count of items on the stack is 1, then this method empties the stack.

See Also

ID3DXMatrixStack::GetTop, ID3DXMatrixStack::Push


© 2002 Microsoft Corporation. All rights reserved.