Command Line Arguments¶
You can start vulkan-renderer with the following command line arguments:
- --gpu <index>¶
Specifies which GPU to use by array index, starting from 0.
Note
The engine checks if this index is valid and if the selected GPU is suitable for the requested device level. If the GPU is not suitable, automatic GPU selection rules apply (see _AUTOMATIC_GPU_SELECTION).
- --vsync¶
Enables vertical synchronization (limits FPS to monitor refresh rate).
- --no-cmd-buf-cache¶
Disables the secondary command buffer cache and records graphics passes directly into the primary command buffer.
- --maxfps <fps>¶
Limits the max frames per seconds to a specified value. The command line argument will be clamped in between the values
1 fpsand2000 fpsas lower and higher bounds.
- --msaa <samples>¶
Sets the multisample anti-aliasing sample count. Supported values are
1,2,4,8, and16. Any other value falls back to1.