{.experimental: "codeReordering".}
{.deadCodeElim: on.}

import vulkan

type
 BoundImage* = ref object
  image*: VkImage
  imageMem*: VkDeviceMemory
 
 Semaphores* = ref object
  presentComplete*: VkSemaphore
  renderComplete*: VkSemaphore

 Swapchain_Buffer* = object
  image*: VkImage
  view*: VkImageView

 QueueFamily* = object
  graphics*: uint32
  transfer*: uint32
  compute*: uint32
  sparse*: uint32
  usingSparse*: bool
  usingCompute*: bool
  
#[  GraphicsPipeline* = ref object
  pipelineLayout*: VkPipelineLayout
  pipeline*: VkPipeline ]#