
.. _program_listing_file_Src_GraphicsEngineVulkan_renderer_QueueFamilyIndices.ixx:

Program Listing for File QueueFamilyIndices.ixx
===============================================

|exhale_lsh| :ref:`Return to documentation for file <file_Src_GraphicsEngineVulkan_renderer_QueueFamilyIndices.ixx>` (``Src/GraphicsEngineVulkan/renderer/QueueFamilyIndices.ixx``)

.. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS

.. code-block:: cpp

   module;
   
   export module kataglyphis.vulkan.queue_family_indices;
   
   export namespace Kataglyphis::VulkanRendererInternals {
   struct QueueFamilyIndices
   {
       int graphics_family = -1;
       int presentation_family = -1;
       int compute_family = -1;
   
       bool is_valid() { return graphics_family >= 0 && presentation_family >= 0 && compute_family >= 0; }
   };
   }// namespace Kataglyphis::VulkanRendererInternals
