Vixen
dd8b0a81
csharp
public readonly record struct VulkanDeviceOptions

What to create a device as.

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

Fields and properties (9)

  • public SurfaceHandle Surface

    A surface a swapchain will be created for, so that presentation is planned for.

  • public int FramesInFlight

    How many frames may be recorded before the first has to have finished.

  • public ILogger? Logger

    Where the backend logs.

  • public bool PreferRenderPassObjects

    Use VkRenderPass objects even where the device offers dynamic rendering.

  • public IReadOnlyList<string> RequiredInstanceExtensions

    Instance extensions that must be enabled, on top of whatever the backend needs.

  • public IReadOnlyList<string> RequiredDeviceExtensions

    Device extensions that must be enabled, on top of whatever the backend needs.

  • public nint PreferredPhysicalDevice

    The physical device to use, as a raw VkPhysicalDevice, or zero to choose one.

  • public string? PipelineCachePath

    Where the driver's own pipeline cache is kept between runs, or null for none.

  • public GpuDenyList DenyList

    The GPUs and drivers this backend must not be used on.

Methods (1)

  • public VulkanDeviceOptions()

    What to create a device as.

Used by (13)

  • TriangleGameHelloTriangle
  • VideoGameVideoPlayback
  • VirtualGeometryGameVirtualGeometry
  • UiApplicationVixen.Ui.Desktop
  • ValidationCleanTestsVixen.Graphics.Vulkan.Tests
  • VulkanDeviceVixen.Graphics.Vulkan
  • VulkanDeviceTestsVixen.Graphics.Vulkan.Tests
  • VulkanPipelineCacheTestsVixen.Graphics.Vulkan.Tests
  • VulkanPipelineTestsVixen.Graphics.Vulkan.Tests
  • VulkanPresentationTestsVixen.Graphics.Vulkan.Tests
  • VulkanResolveFallbackTestsVixen.Graphics.Vulkan.Tests
  • EditorHostVixen.Editor.Host
  • GraphicsHostVixen.App