Vixen
02b45cc4
csharp
public sealed class VulkanXrImageImporter

Adopts the runtime's images into the engine's Vulkan device.

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

Remarks

Twenty lines, and the only place in this module that knows what a VkImage is for. It exists as a separate type rather than as a method on the session because the seam it implements — IXrImageImporter — is what keeps Vixen.Xr free of both Vulkan and OpenXR, and what a second backend or a test plugs into instead.

Releasing a handle does not destroy the image. The image belongs to the compositor; what the RHI holds is a table entry pointing at it, and VulkanDevice adopts it exactly as it adopts a window swapchain's images.

Methods (5)