Example #1
0
 internal static void Push(DrawStyle style, Matrix4x4 mtx)
 {
     StyleStack.Push(style);
     MatrixStack.Push(mtx);
 }
Example #2
0
 /// <summary><para>Resets draw style states, including color, but not the drawing matrix</para><para>See <see cref="Draw.ResetAllDrawStates()"/> to reset everything</para></summary>
 [MethodImpl(INLINE)] public static void ResetStyle() => style = DrawStyle.@default;
Example #3
0
 internal StateStack(DrawStyle style, Matrix4x4 mtx) => Push(style, mtx);
Example #4
0
 /// <summary><para>Resets draw style states, including color, but not the drawing matrix</para><para>See <see cref="Draw.ResetAllDrawStates()"/> to reset everything</para></summary>
 public static void ResetStyle() => style = DrawStyle.@default;
Example #5
0
 internal StyleStack(DrawStyle style) => styles.Push(style);
Example #6
0
 internal static void Push(DrawStyle prevState) => styles.Push(prevState);
Example #7
0
 internal StyleStack(DrawStyle mtx) => styles.Push(mtx);