8000 GitHub - rokuz/volk-cpp: C++ 20 port of volk library (Meta loader for Vulkan API)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rokuz/volk-cpp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐺++ volk-cpp Build Status

C++20 port of volk library.

The usage is essentially the same as in the original volk library, however there is one key difference (except C++20): No global variables and functions.

  Volk volk;
  if (volk.getStatus() != VK_SUCCESS) {
    printf("volk-cpp initialization failed!\n");
    return -1;
  }

  auto version = volk.getInstanceVersion();
  printf("Vulkan version %d.%d.%d initialized.\n",
          VK_VERSION_MAJOR(version),
          VK_VERSION_MINOR(version),
          VK_VERSION_PATCH(version));

  uint32_t cnt = 0;
  volk.vkEnumerateInstanceLayerProperties(&cnt, nullptr);

License

This library is available to anybody free of charge, under the terms of MIT License (see LICENSE.md).

Original volk license.

About

C++ 20 port of volk library (Meta loader for Vulkan API)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 92.5%
  • CMake 4.0%
  • Python 2.8%
  • Shell 0.7%
0