KhronosGroup / Vulkan-Samples
- понедельник, 4 ноября 2019 г. в 00:20:17
C++
One stop solution for all Vulkan samples
The Vulkan Samples is collection of resources to help you develop optimized Vulkan applications.
If you are new to Vulkan the API samples are the right place to start. Additionally you may find the following links useful:
Performance samples show the recommended best practice together with real-time profiling information. They are more advanced but also contain a detailed tutorial with more in-detail explanations.
Clone the repo with submodules using the following command:
git clone --recurse-submodules https://github.com/KhronosGroup/Vulkan-Samples.git
cd Vulkan-Samples
Follow build instructions for your platform below.
The following shows some example command line usage on how to configure and run the Vulkan Samples.
# Run Swapchain Images sample
vulkan_samples swapchain_images
# Run AFBC sample in benchmark mode for 5000 frames
vulkan_samples --sample afbc --benchmark 5000
# Run bonza test offscreen
vulkan_samples --test bonza --hide
# Run all the performance samples
vulkan_samples --batch performance
See LICENSE.
This project has some third-party dependencies, each of which may have independent licensing:
This project uses assets from vulkan-samples-assets. Each one has its own licence.
Vulkan is a registered trademark of the Khronos Group Inc.
Donated to Khronos by Arm, with further contributions by Sascha Willems and Adam Sawicki.
See CONTRIBUTING.