public readonly record struct DesktopPlatformOptionsWhat 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 OrganisationThe publisher name used to place /data and /cache.
public string ApplicationThe application name used to place /data and /cache, and the name SDL gives the OS for its window class and audio streams.
public IFileSystemHost? FileSystemWhere files live, or for the OS's standard locations.
public string? VideoDriverWhich SDL video driver to insist on — "x11", "wayland", "dummy" — or to let SDL choose.
public bool RequestGpuSurfaceWhether windows should be created ready for a GPU swapchain.
public bool RequestGlContextWhether windows should be created ready for an OpenGL context.
public bool EnableGameControllersWhether to initialise the game-controller subsystem.
public bool UseNativeSupplementWhether to take the file pickers, clipboard and affinity from the per-OS assembly.
public IPlatformSupplement? SupplementA 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