ID3DXMATRIXStack::Pop

Removes the current matrix from the top of the stack.

HRESULT Pop();

Parameters

None.

Return Values

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.

Requirements

Header: Declared in D3dx9math.h.

See Also

ID3DXMATRIXStack::GetTop, ID3DXMATRIXStack::Push