I'm using Vulkan in Rust via ash library. I'm obviously writing my own module for using…
- User
I'm using Vulkan in Rust via ash library. I'm obviously writing my own module for using Vulkan. It's in src/vulkan. What would be a good name for the main submodule inside vulkan?
- Assistant
When organizing a Vulkan module in Rust, particularly when using the
ashlibrary, it's important to choose a clear and descriptive name for the main submodule to reflect its purpose within your Vulkan module. Here are a few suggestions:-
core: This is a common convention for the core functionalities or foundational setup of a subsystem. It can include everything essential for initialization and management.
-
renderer: If the main responsibility of the submodule is to handle the rendering logic, this would be an appropriate name.
-
device: If the main focus of the submodule is to manage Vulkan logical and physical devices, as well as queues and command buffers, this could be a fitting name.
-
context: Useful if the submodule is primarily focused on setting up and maintaining the Vulkan context, including instance, surface, and device.
-