Vixen
02b45cc4
csharp
public static class MountPoints

The mounts every Vixen application has, and what each one promises.

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

Remarks

The names are the contract. Engine code says /app/textures/x.ktx2 and never learns that on Android that is inside an APK, on iOS it is inside a signed bundle, in the browser it is an HTTP fetch with an IndexedDB cache, and in the editor it is a directory. That translation is the whole reason the layer exists, and it only works if the vocabulary is fixed.

Fields and properties (7)

  • public static VirtualPath App

    Read-only application content, shipped with the build.

  • public static VirtualPath Data

    Read-write application data that must survive a restart.

  • public static VirtualPath Cache

    Read-write data the platform may delete at any time.

  • public static VirtualPath Temp

    Scratch space for the current session.

  • public static VirtualPath Project

    The open project's folder. Editor only; unmounted in a shipped game.

  • public static VirtualPath Database

    The content-addressed object database.

  • public static ReadOnlySpan<VirtualPath> All

    Every mount the engine defines, in a fixed order.

Used by (11)

  • ContentMountVixen.App.Hosting
  • FileWatcherTestsVixen.Core.IO.Tests
  • HeadlessLifecycleTestsVixen.Platform.Headless.Tests
  • ObjectDatabaseTestsVixen.Core.Serialization.Tests
  • StandardFileSystemHostVixen.Platform
  • StandardFileSystemHostTestsVixen.Platform.Tests
  • TemporaryFileSystemHostVixen.Platform.Headless.Tests
  • VirtualFileSystemTestsVixen.Core.IO.Tests
  • ContentMountTestsVixen.App.Tests
  • TemporaryFileSystemHostVixen.App.Tests
  • VixenApplicationTestsVixen.App.Tests