Vulkan backend
The backend for Vulkan: the hosts that lend their device and their frame, the render bridge that records into it, and its textures, framebuffers, shaders and caches. Learn: Vulkan backend.
| Type | Kind | Summary |
|---|---|---|
IVulkanHost | interface | What an application or an engine that renders with Vulkan lends JOID: the device, the queue, the command buffer of the frame and the target image. |
IVulkanTexture | interface | A texture that the Vulkan renderer samples through an image view, owned by JOID or lent by the host. |
SnapshotVulkanHost | class | The Vulkan host of the snapshot tests: no surface, one offscreen target image and one frame in flight. |
VulkanBackend | class | The backend for Vulkan, which records the frames of JOID into the frame of a Vulkan host and reads a GLFW window. |
VulkanBorrowedTexture | class | An image of the host, by image view, that JOID samples without owning it. |
VulkanBuffer | class | A Vulkan buffer in host-visible, coherent memory, mapped for its whole life. |
VulkanContext | class | The device of the host seen by the Vulkan renderer, with its render passes, image and buffer creation, and one-shot submissions. |
VulkanDescriptorCache | class | The descriptor sets of the Vulkan renderer, one per shader, uniform buffer and set of image views. |
VulkanFrameAllocator | class | Hands out aligned ranges of one buffer for the vertices or the uniforms of a frame, reset when the slot of the frame comes back. |
VulkanFrameBuffer | class | An offscreen target of Vulkan with a color texture and a depth image, without stencil. |
VulkanImage | class | An image of the host described for JOID: its image and view handles, its size and its number of levels. |
VulkanPipelineCache | class | The graphics pipelines of the Vulkan renderer, one per pipeline key and kind of target. |
VulkanRenderBridge | class | The render bridge of Vulkan, which records each JOID frame into the command buffer of the host with the conventions of OpenGL. |
VulkanShader | class | A shader of Vulkan: the two stages compiled to SPIR-V, with their descriptor set layout and pipeline layout. |
VulkanShaderCompiler | class | Compiles a translated GLSL stage to SPIR-V with shaderc, at run time. |
VulkanShaderTranslator | class | Translates JOID GLSL to GLSL 4.50 for SPIR-V, with one std140 uniform block and explicit binding and location qualifiers. |
VulkanSnapshotBackend | class | The snapshot backend of Vulkan, which renders through a SnapshotVulkanHost into an offscreen image. |
VulkanTexture | class | A texture of Vulkan in device memory, uploaded through a staging buffer, with mipmaps built by linear blits. |
WindowVulkanHost | class | The Vulkan host of a GLFW window, which owns the instance, the device and a swapchain that follows the size of the window. |
