pub fn create_target(
        &self,
        surface: Surface<B>,
        image_count: u32,
        usage: gfx_hal::image::Usage,
    ) -> Result<Target<B>, failure::Error> {
        unsafe {
            surface.into_target(
                &self.adapter.physical_device,
                &self.device,
                image_count,
                usage,
            )
        }
    }
/// Create target out of rendering surface.
Create target out of rendering surface.
Create target out of rendering surface .
pub fn create_target(
        &self,
        surface: Surface<B>,
        image_count: u32,
        usage: gfx_hal::image::Usage,
    ) -> Result<Target<B>, failure::Error> {
        unsafe {
            surface.into_target(
                &self.adapter.physical_device,
                &self.device,
                image_count,
                usage,
            )
        }
    }
pub fn create_target ( & self , surface : Surface < B > , image_count : u32 , usage : gfx_hal :: image :: Usage , ) -> Result < Target < B > , failure :: Error > { unsafe { surface . into_target ( & self . adapter . physical_device , & self . device , image_count , usage , ) } }
Create target out of rendering surface.
Create target out of rendering surface .
&self
surface
Surface<B>
image_count
u32
usage
gfx_hal::image::Usage
&self
surface
Surface<B>
image_count
u32
usage
gfx_hal::image::Usage