Registry / other / volk
library1.4.304vcpkgunverified

Meta loader for Vulkan API. Note that the static library target volk::volk is built without platform-specific defines. Use the header-only target volk::volk_headers if you require platform-specific extensions.

vcpkg install volk
INSTALL
IMPORT
SIG · VOLK
V
volk
othercppv1.4.304
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

volk.h
✓ #include <volk.h>

Initialize volk and create a Vulkan instance

#define VK_NO_PROTOTYPES #include <volk.h> int main() { volkInitialize(); VkInstance instance; VkApplicationInfo appInfo = {}; appInfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO; VkInstanceCreateInfo createInfo = {}; createInfo.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO; createInfo.pApplicationInfo = &appInfo; vkCreateInstance(&createInfo, nullptr, &instance); volkLoadInstance(instance); vkDestroyInstance(instance, nullptr); return 0; }
Debug
Known issues
gotchaStatic library target volk::volk lacks platform-specific defines; use volk::volk_headers for extensions
fix
Link against volk::volk_headers instead of volk::volk if you need platform-specific Vulkan extensions
affects: all
Upgrade
Version history
1.4.304latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
14
Resources

No resource links recorded.

volk — pip install volk · libregistry