public record class AppArgumentsThe --vixen-* arguments the host understands, and everything else untouched.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
One prefix, reserved for the engine, so an application can define whatever arguments it likes without a collision and without the host needing to know about them. Anything not starting with --vixen- comes back in Remaining in its original order.
Unrecognised --vixen-* arguments are collected rather than ignored. A typo in a launch script that silently does nothing is how a QA build runs for a week without the profiler somebody thought they had enabled.
Fields and properties (13)
public IReadOnlyList<string> RemainingArguments the host did not consume, in order.
public IReadOnlyList<string> Unrecognised--vixen-* arguments the host does not recognise, with their values.
public BuildVariant? VariantThe variant named by --vixen-variant, or .
public bool HeadlessWhether --vixen-headless was given.
public string? VideoDriverThe SDL video driver named by --vixen-video-driver, or .
public int? WorkerCountThe worker count from --vixen-workers, or .
public int? FrameRateLimitThe frame cap from --vixen-frame-limit, or .
public int? MaxFramesHow many frames to run before stopping, from --vixen-frames.
public IReadOnlyList<GraphicsBackend> BackendsThe backend order from --vixen-backend, or empty for none given.
public LogLevel? LogLevelThe level from --vixen-log-level, or .
public string? LogFilePathThe directory for rolling log files, from --vixen-log-file, or for no file at all.
public string? LooseContentPathThe directory from --vixen-loose-content, or .
public string? StartupSceneThe scene address from --vixen-scene, or .
Methods (1)
public static AppArguments Parse(IReadOnlyList<string>? arguments)Reads the --vixen-* arguments out of a command line.
Used by (6)
- AppBuilderVixen.App.Hosting
- AppConfigVixen.App.Hosting
- AppArgumentsTestsVixen.App.Tests
- AppBackendTestsVixen.App.Tests
- BuildVariantTestsVixen.App.Tests
- VixenAppVixen.App