pub fn use_vulkan_debug_layer(
        self,
        use_vulkan_debug_layer: bool,
    ) -> Self {
        self.validation_layer_debug_report_flags(if use_vulkan_debug_layer {
            vk::DebugReportFlagsEXT::all()
        } else {
            vk::DebugReportFlagsEXT::empty()
        })
    }
/// If true, initialize the vulkan debug layers. This will require the vulkan SDK to be
/// installed and the app will fail to launch if it isn't. This turns on ALL logging. For
/// more control, see `validation_layer_debug_report_flags()`
If true, initialize the vulkan debug layers. This will require the vulkan SDK to be
installed and the app will fail to launch if it isn't. This turns on ALL logging. For
more control, see `validation_layer_debug_report_flags()`
If true initialize the vulkan debug layers . This will require the vulkan SDK to be installed and the app will fail to launch if it isn ' t . This turns on ALL logging . For more control see ` validation_layer_debug_report_flags () `
pub fn use_vulkan_debug_layer(
        self,
        use_vulkan_debug_layer: bool,
    ) -> Self {
        self.validation_layer_debug_report_flags(if use_vulkan_debug_layer {
            vk::DebugReportFlagsEXT::all()
        } else {
            vk::DebugReportFlagsEXT::empty()
        })
    }
pub fn use_vulkan_debug_layer ( self , use_vulkan_debug_layer : bool , ) -> Self { self . validation_layer_debug_report_flags ( if use_vulkan_debug_layer { vk :: DebugReportFlagsEXT :: all ( ) } else { vk :: DebugReportFlagsEXT :: empty ( ) } ) }
If true, initialize the vulkan debug layers.
If true initialize the vulkan debug layers .
self
use_vulkan_debug_layer
bool
self
use_vulkan_debug_layer
bool