Overview
Vulkan_Package is a component-oriented Vulkan framework for Delphi, built on the
PasVulkan bindings. It wraps the parts of Vulkan every
application needs (instance, physical and logical devices, swap chain, pipelines, descriptors and
buffers) in TComponent descendants you configure in the Object Inspector.
Features
- Session components:
TvgInstance,TvgPhysicalDevice,TvgScreenRenderDeviceandTvgLinkerconnect like a database connection and its datasets. - Session data module:
TvgVulkanDataModuleholds a whole Vulkan session and can build and wire it for you from the IDE. - Design-time preview: set
Activeto True on any session component to start the session in the IDE. If it can’t start, the reason is shown. - Scene and rendering: scenes, data stores, the single-threaded render engine
TvgRenderEngine_Single, cameras, lights, HUD and compute. - Interaction:
TvgToolManagerprovides camera orbit, CPU and GPU picking, selection and zoom-to-fit, with virtual hooks for your own tools. - Windows: VCL (
TvgWindowVCL), SDL2 (TvgSDL2Window) and FireMonkey. - File formats: OBJ (geometry and materials) and STL (read and write), with a registry that lets you add your own loaders.
- Shaders: hand-built GLSL shaders compiled to SPIR-V with
glslangValidator.
Quick start
// In a form with a TvgVulkanDataModule (DM) and a TvgWindowVCL:
procedure TForm1.FormShow(Sender: TObject);
begin
DM.EnableSession; // start Vulkan once the form is visible
DM.LoadScene('model.obj'); // load with the registered OBJ loader
end;
See Getting started for installation, and the session data module guide for the full design-time workflow.
Licence
Released under the zlib licence. You may use it in closed-source and commercial applications. Copyright © 2021–2026 Datavis.