Vixen
02b45cc4
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 (7)

  • 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.

Methods (1)

  • public VulkanDeviceOptions()

    What to create a device as.

Used by (11)

  • PbrShowcaseGamePbrShowcase
  • TriangleGameHelloTriangle
  • UiHostHelloUi
  • VideoGameVideoPlayback
  • VirtualGeometryGameVirtualGeometry
  • ValidationCleanTestsVixen.Graphics.Vulkan.Tests
  • VulkanDeviceVixen.Graphics.Vulkan
  • VulkanDeviceTestsVixen.Graphics.Vulkan.Tests
  • VulkanPipelineTestsVixen.Graphics.Vulkan.Tests
  • EditorHostVixen.Editor.Host
  • GraphicsHostVixen.App