MatrixStack.Pop() Method (Microsoft.DirectX)

Removes the current matrix from the top of the stack.

Definition

Visual Basic Public Sub Pop()
C# public void Pop();
C++ public:
void Pop();
JScript public function Pop();

Remarks

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 different matrix to that position. If the current count of items on the stack is 0, this method returns without taking any action. If the current count of items is 1, the method empties the stack.

See Also