示例#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);