pub fn new() -> Self {
        VkContextBuilder {
            app_name: CString::new("Rafx App").unwrap(),
            validation_layer_debug_report_flags: vk::DebugReportFlagsEXT::all(),
            present_mode_priority: vec![PresentMode::Fifo],
            physical_device_type_priority: vec![
                PhysicalDeviceType::DiscreteGpu,
                PhysicalDeviceType::IntegratedGpu,
            ],
            link_method: VulkanLinkMethod::default(),
        }
    }
/// Construct the renderer builder with default options
Construct the renderer builder with default options
Construct the renderer builder with default options
pub fn new() -> Self {
        VkContextBuilder {
            app_name: CString::new("Rafx App").unwrap(),
            validation_layer_debug_report_flags: vk::DebugReportFlagsEXT::all(),
            present_mode_priority: vec![PresentMode::Fifo],
            physical_device_type_priority: vec![
                PhysicalDeviceType::DiscreteGpu,
                PhysicalDeviceType::IntegratedGpu,
            ],
            link_method: VulkanLinkMethod::default(),
        }
    }
pub fn new ( ) -> Self { VkContextBuilder { app_name : CString :: new ( " " ) . unwrap ( ) , validation_layer_debug_report_flags : vk :: DebugReportFlagsEXT :: all ( ) , present_mode_priority : vec ! [ PresentMode Fifo ] , physical_device_type_priority : vec ! [ PhysicalDeviceType DiscreteGpu PhysicalDeviceType IntegratedGpu ] , link_method : VulkanLinkMethod :: default ( ) , } }
Construct the renderer builder with default options
Construct the renderer builder with default options