Dashboard/Quik/CommandMachine/Command.cs

62 lines
1.2 KiB
C#
Raw Normal View History

namespace Quik.CommandMachine
2023-05-13 15:17:23 +02:00
{
/// <summary>
/// Enumeration of built-in Quik commands.
/// </summary>
public enum Command
{
#region Control Commands
/// <summary>
/// Invoke a function directly.
/// </summary>
Invoke,
/// <summary>
/// Begin conditional rendering segment.
/// </summary>
ConditionalBegin,
/// <summary>
/// End conditional rendering segment.
/// </summary>
ConditionalEnd,
PushViewport,
2023-05-14 22:32:32 +02:00
IntersectViewport,
2023-05-13 15:17:23 +02:00
StoreViewport,
PopViewport,
2023-05-14 22:32:32 +02:00
PushZ,
2023-05-13 15:17:23 +02:00
IncrementZ,
AddZ,
StoreZ,
DecrementZ,
2023-05-14 22:32:32 +02:00
PopZ,
2023-05-13 15:17:23 +02:00
PushMatrix,
StoreIdentityMatrix,
StoreMatrix,
PopMatrix,
PushStyle,
StoreStyle,
PopStyle,
#endregion
#region Draw Commands
Line,
Bezier,
Rectangle,
Ellipse,
Triangle,
Polygon,
Image,
#endregion
/// <summary>
/// Start index for custom commands.
/// </summary>
CustomCommandBase = 1024,
}
}