Vixen
02b45cc4
csharp
public readonly record struct DesktopPlatformOptions

What to build a DesktopPlatform out of.

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

Fields and properties (9)

  • public string Organisation

    The publisher name used to place /data and /cache.

  • public string Application

    The application name used to place /data and /cache, and the name SDL gives the OS for its window class and audio streams.

  • public IFileSystemHost? FileSystem

    Where files live, or for the OS's standard locations.

  • public string? VideoDriver

    Which SDL video driver to insist on — "x11", "wayland", "dummy" — or to let SDL choose.

  • public bool RequestGpuSurface

    Whether windows should be created ready for a GPU swapchain.

  • public bool RequestGlContext

    Whether windows should be created ready for an OpenGL context.

  • public bool EnableGameControllers

    Whether to initialise the game-controller subsystem.

  • public bool UseNativeSupplement

    Whether to take the file pickers, clipboard and affinity from the per-OS assembly.

  • public IPlatformSupplement? Supplement

    A specific supplement to use, or to choose by operating system.

Methods (1)

  • public DesktopPlatformOptions()

    What to build a DesktopPlatform out of.

Used by (11)

  • ProgramHelloUi
  • ProgramPbrShowcase
  • ProgramHelloTriangle
  • ProgramVideoPlayback
  • ProgramVirtualGeometry
  • DesktopGlContextTestsVixen.Platform.Desktop.Tests
  • DesktopPlatformVixen.Platform.Desktop
  • DesktopPlatformTestsVixen.Platform.Desktop.Tests
  • DesktopSupplementTestsVixen.Platform.Desktop.Tests
  • PlatformHostVixen.App
  • ProgramVixen.Editor.Host