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