Skip to content

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.

TypeKindSummary
IVulkanHostinterfaceWhat 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.
IVulkanTextureinterfaceA texture that the Vulkan renderer samples through an image view, owned by JOID or lent by the host.
SnapshotVulkanHostclassThe Vulkan host of the snapshot tests: no surface, one offscreen target image and one frame in flight.
VulkanBackendclassThe backend for Vulkan, which records the frames of JOID into the frame of a Vulkan host and reads a GLFW window.
VulkanBorrowedTextureclassAn image of the host, by image view, that JOID samples without owning it.
VulkanBufferclassA Vulkan buffer in host-visible, coherent memory, mapped for its whole life.
VulkanContextclassThe device of the host seen by the Vulkan renderer, with its render passes, image and buffer creation, and one-shot submissions.
VulkanDescriptorCacheclassThe descriptor sets of the Vulkan renderer, one per shader, uniform buffer and set of image views.
VulkanFrameAllocatorclassHands out aligned ranges of one buffer for the vertices or the uniforms of a frame, reset when the slot of the frame comes back.
VulkanFrameBufferclassAn offscreen target of Vulkan with a color texture and a depth image, without stencil.
VulkanImageclassAn image of the host described for JOID: its image and view handles, its size and its number of levels.
VulkanPipelineCacheclassThe graphics pipelines of the Vulkan renderer, one per pipeline key and kind of target.
VulkanRenderBridgeclassThe render bridge of Vulkan, which records each JOID frame into the command buffer of the host with the conventions of OpenGL.
VulkanShaderclassA shader of Vulkan: the two stages compiled to SPIR-V, with their descriptor set layout and pipeline layout.
VulkanShaderCompilerclassCompiles a translated GLSL stage to SPIR-V with shaderc, at run time.
VulkanShaderTranslatorclassTranslates JOID GLSL to GLSL 4.50 for SPIR-V, with one std140 uniform block and explicit binding and location qualifiers.
VulkanSnapshotBackendclassThe snapshot backend of Vulkan, which renders through a SnapshotVulkanHost into an offscreen image.
VulkanTextureclassA texture of Vulkan in device memory, uploaded through a staging buffer, with mipmaps built by linear blits.
WindowVulkanHostclassThe Vulkan host of a GLFW window, which owns the instance, the device and a swapchain that follows the size of the window.

Report a problem with this page