Pass:pop

Edit

Pops the transform or render state stack, restoring it to the state it was in when it was last pushed.

Pass:pop(stack)

Arguments

NameTypeDefaultDescription
stackStackType'transform' The type of stack to pop.

Returns

Nothing

Notes

If a stack is popped without a corresponding push, the stack "underflows" which causes an error.

See also