internal static void Push(DrawStyle style, Matrix4x4 mtx) { StyleStack.Push(style); MatrixStack.Push(mtx); }
/// <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;
internal StateStack(DrawStyle style, Matrix4x4 mtx) => Push(style, mtx);
/// <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;
internal StyleStack(DrawStyle style) => styles.Push(style);
internal static void Push(DrawStyle prevState) => styles.Push(prevState);
internal StyleStack(DrawStyle mtx) => styles.Push(mtx);