Example #1
0
 /// <summary>Restores the draw style state to the previously pushed state from the stack</summary>
 [MethodImpl(INLINE)] public static void PopStyle() => StyleStack.Pop();
Example #2
0
 /// <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);
Example #3
0
 internal static void Push(DrawStyle style, Matrix4x4 mtx)
 {
     StyleStack.Push(style);
     MatrixStack.Push(mtx);
 }
Example #4
0
 internal static void Pop()
 {
     MatrixStack.Pop();
     StyleStack.Pop();
 }
Example #5
0
 /// <summary>Restores the draw style state to the previously pushed state from the stack</summary>
 public static void PopStyle() => StyleStack.Pop();
Example #6
0
 /// <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);