Skip to content

FiniteRenderOneshotBuffer

The FiniteRenderOneshotBuffer struct stores a Vulkan command buffer and its associated command pool intended for short-lived, single-use operations.

struct FiniteRenderOneshotBuffer {
VkCommandBuffer buffer;
VkCommandPool pool;
};
TypeDescription
VkCommandBuffer bufferThe Vulkan command buffer used for one-time command submission.
VkCommandPool poolThe Vulkan command pool that owns the command buffer.

This struct should be created with finite_render_begin_onshot_command and used as a param to finite_render_finish_onshot_command