Skip to content

Namespace Apogee.Graphics.Vulkan

Classes

PhysicalDeviceInfo

A GPU the loader found, and whether the engine can use it.

VulkanBindlessHeap

The one descriptor set every pipeline uses: arrays of sampled images, samplers and storage images that shaders index with plain integers (carried in push constants or in buffers). Entries are written once and stay valid until freed; slot 0 of the images and the samplers is a white texel and a linear repeat sampler, so an unset index still reads something sane.

VulkanBuffer

A Vulkan buffer with its VMA allocation.

VulkanCommandRecorder

A Vulkan command buffer being recorded.

VulkanConvert

The engine's enumerations as Vulkan's. The numbers are the same on purpose (see and Enums.cs), so these are casts.

VulkanDevice

The Vulkan implementation of : the instance, the logical device and everything created with it (the queue, the VMA allocator, the device commands). It owns the instance and, when it was created for a window, the window's surface. The engine's baseline is Vulkan 1.3 with dynamic rendering, synchronization2, buffer device addresses and descriptor indexing; a GPU without them is rejected with the reason.

VulkanException

A Vulkan call failed or the machine cannot do what the engine needs; the message says which.

VulkanFrameLoop

The Vulkan frame loop: a single timeline semaphore says which of the frames in flight the GPU has finished. With a swapchain it acquires and presents; without one it renders headless.

VulkanImage

A Vulkan image with its VMA allocation and a view of the whole of it, or one that belongs to someone else (a swapchain's) and is only described here.

VulkanImageView

A view of a Vulkan image.

VulkanImmediateContext

The immediate context of a Vulkan device: one command buffer and a fence.

VulkanInstance

The loader's instance plus the debug messenger that forwards validation and driver messages to the log and counts errors.

VulkanInstanceOptions

VulkanPipeline

A Vulkan pipeline (it uses the bindless heap's pipeline layout).

VulkanSampler

VulkanStates

The table from a state to the stage, access and layout a barrier uses.

VulkanSwapchain

The images presented to a window. Their format is a UNORM one, B8G8R8A8 or R8G8B8A8: shaders write sRGB-encoded values themselves, which also lets the dev overlay draw straight onto them. Created for a size from sizeSource and recreated whenever that changes.

Enums

AcquireStatus

The outcome of asking the swapchain for the next image.