push

public final static Unit push(MatrixStack $self, Function1<MatrixStack, Unit> action)(source)

Pushes to the given matrix stack, invokes action, then pops from the given matrix stack.

Parameters

action

The action to invoke between MatrixStack.push and MatrixStack.pop