Linux command
vkcubepp 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Run Vulkan cube demo
vkcubepp
Run with validation layers
vkcubepp --validate
Run on specific GPU
vkcubepp --gpu_number [0]
Run in fullscreen
vkcubepp --fullscreen
Suppress frame count output
vkcubepp --suppress_popups
Display help
vkcubepp --help
说明
vkcubepp displays a spinning 3D cube rendered using the Vulkan graphics API. It's a simple test application to verify that Vulkan drivers and libraries are correctly installed and functioning. Part of the Vulkan-Tools package from the Khronos Group, vkcubepp is written in C++ (vkcube is the C version). Both produce the same visual output but demonstrate different API usage patterns. Running with --validate enables Vulkan validation layers, useful for developers debugging Vulkan applications. The cube should spin smoothly if Vulkan is working correctly.
参数
- --validate
- Enable Vulkan validation layers.
- --gpu_number _n_
- Select GPU by index.
- --fullscreen
- Run in fullscreen mode.
- --present_mode _mode_
- Set presentation mode.
- --suppress_popups
- Suppress informational popups.
- --width _n_
- Window width in pixels.
- --height _n_
- Window height in pixels.
- --help, -h
- Display help.
FAQ
What is the vkcubepp command used for?
vkcubepp displays a spinning 3D cube rendered using the Vulkan graphics API. It's a simple test application to verify that Vulkan drivers and libraries are correctly installed and functioning. Part of the Vulkan-Tools package from the Khronos Group, vkcubepp is written in C++ (vkcube is the C version). Both produce the same visual output but demonstrate different API usage patterns. Running with --validate enables Vulkan validation layers, useful for developers debugging Vulkan applications. The cube should spin smoothly if Vulkan is working correctly.
How do I run a basic vkcubepp example?
Run `vkcubepp` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --validate do in vkcubepp?
Enable Vulkan validation layers.