Exemplo n.º 1
0
 internal static void Push(DrawStyle style, Matrix4x4 mtx)
 {
     StyleStack.Push(style);
     MatrixStack.Push(mtx);
 }
Exemplo n.º 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;
Exemplo n.º 3
0
 internal StateStack(DrawStyle style, Matrix4x4 mtx) => Push(style, mtx);
Exemplo n.º 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;
Exemplo n.º 5
0
 internal StyleStack(DrawStyle style) => styles.Push(style);
Exemplo n.º 6
0
 internal static void Push(DrawStyle prevState) => styles.Push(prevState);
Exemplo n.º 7
0
 internal StyleStack(DrawStyle mtx) => styles.Push(mtx);