/// <summary>Restores the draw style state to the previously pushed state from the stack</summary> [MethodImpl(INLINE)] public static void PopStyle() => StyleStack.Pop();
/// <summary>Pushes the current draw style state onto the style stack. Calling <see cref="Draw.PopStyle()"/> will restore this state</summary> [MethodImpl(INLINE)] public static void PushStyle() => StyleStack.Push(Draw.style);
internal static void Push(DrawStyle style, Matrix4x4 mtx) { StyleStack.Push(style); MatrixStack.Push(mtx); }
internal static void Pop() { MatrixStack.Pop(); StyleStack.Pop(); }
/// <summary>Restores the draw style state to the previously pushed state from the stack</summary> public static void PopStyle() => StyleStack.Pop();
/// <summary>Pushes the current draw style state onto the style stack. Calling <see cref="Draw.PopStyle()"/> will restore this state</summary> public static void PushStyle() => StyleStack.Push(Draw.style);