This commit is contained in:
parent
f67804abd9
commit
504fdada42
5 changed files with 245 additions and 63 deletions
|
@ -7,8 +7,7 @@ pub struct VkDevice {
|
|||
instance: Arc<VkInstance>,
|
||||
pub(super) handle: ash::Device,
|
||||
pub(super) swapchain_loader: ash::khr::swapchain::Device,
|
||||
|
||||
queue_family_index: u32,
|
||||
pub(super) queue_family_index: u32,
|
||||
|
||||
// Arc not used because vk::Queue is destroyed with Device automatically
|
||||
// so any references of vk::Queue must be destroyed with VkDevice
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue