pub fn new() -> Self {
        SwapchainConfig {
            color_format: Format::Bgra8Unorm, // TODO: try to find best default format
            depth_stencil_format: None,
            image_count: 2,
            image_usage: image::Usage::empty(),
        }
    }
/// Create a new default configuration (color images only).
///
/// # Examples
///
/// ```no_run
///
/// ```
Create a new default configuration (color images only).
Create a new default configuration ( color images only ) .
pub fn new() -> Self {
        SwapchainConfig {
            color_format: Format::Bgra8Unorm, // TODO: try to find best default format
            depth_stencil_format: None,
            image_count: 2,
            image_usage: image::Usage::empty(),
        }
    }
pub fn new ( ) -> Self { SwapchainConfig { color_format : Format :: Bgra8Unorm , // TODO: try to find best default format depth_stencil_format : None , image_count : 2 , image_usage : image :: Usage :: empty ( ) , } }
Create a new default configuration (color images only).
Create a new default configuration ( color images only ) .
examples
None