ID3DXMATRIXStack::Pop method

Removes the current matrix from the top of the stack.

Syntax


HRESULT Pop();

Parameters

This method has no parameters.

Return value

Type: HRESULT

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

D3DX10.h

Library

D3DX10.lib

See also

ID3DXMatrixStack
D3DX Interfaces

 

 

Show: