Пример #1
0
 internal static void Push(DrawStyle style, Matrix4x4 mtx)
 {
     StyleStack.Push(style);
     MatrixStack.Push(mtx);
 }
Пример #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;
Пример #3
0
 internal StateStack(DrawStyle style, Matrix4x4 mtx) => Push(style, mtx);
Пример #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;
Пример #5
0
 internal StyleStack(DrawStyle style) => styles.Push(style);
Пример #6
0
 internal static void Push(DrawStyle prevState) => styles.Push(prevState);
Пример #7
0
 internal StyleStack(DrawStyle mtx) => styles.Push(mtx);