Vixen
02b45cc4
csharp
public enum BuildVariant

Which of the five builds this is.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Orthogonal to platform: any of these can be built for any target. The full matrix and what each one turns on is docs/plan/17 § Build variants; this enum is the runtime half of it, so a subsystem can ask rather than guess from #if DEBUG.

Fields and properties (5)

  • Editor

    Loose files, live import, everything on, JIT. The editor itself.

  • Debug

    Loose files or bundles, assertions on, hot reload. Daily development.

  • Development

    Bundles and an optimised build that still has the profiler, the console and the remote inspector.

  • Release

    Bundles, assertions off, log ring and crash reporter only. Shipping.

  • Server

    A dedicated server: bundles with no textures, audio or shaders, no window, no GPU, full logging and a metrics endpoint.

Used by (10)

  • AppArgumentsVixen.App.Hosting
  • AppConfigVixen.App.Hosting
  • AppServicesVixen.App.Hosting
  • BuildVariantAttributeVixen.App.Hosting
  • BuildVariantsVixen.App.Hosting
  • HostLogVixen.App.Hosting
  • AppArgumentsTestsVixen.App.Tests
  • BuildVariantTestsVixen.App.Tests
  • VixenApplicationTestsVixen.App.Tests
  • RealmVixen.Live.Realm