pub fn build(
        self,
        window: &dyn Window,
    ) -> Result<VkContext, VkCreateContextError> {
        VkContext::new(
            &self.app_name,
            window,
            self.validation_layer_debug_report_flags,
            self.physical_device_type_priority.clone(),
            self.present_mode_priority.clone(),
            self.link_method,
        )
    }
/// Builds the renderer. The window that's passed in will be used for creating the swapchain
Builds the renderer. The window that's passed in will be used for creating the swapchain
Builds the renderer . The window that ' s passed in will be used for creating the swapchain
pub fn build(
        self,
        window: &dyn Window,
    ) -> Result<VkContext, VkCreateContextError> {
        VkContext::new(
            &self.app_name,
            window,
            self.validation_layer_debug_report_flags,
            self.physical_device_type_priority.clone(),
            self.present_mode_priority.clone(),
            self.link_method,
        )
    }
pub fn build ( self , window : & dyn Window , ) -> Result < VkContext , VkCreateContextError > { VkContext :: new ( & self . app_name , window , self . validation_layer_debug_report_flags , self . physical_device_type_priority . clone ( ) , self . present_mode_priority . clone ( ) , self . link_method , ) }
Builds the renderer.
Builds the renderer .
self
window
&dyn Window
self
window
&dyn Window