pub fn new(image: vk::Image, subrange: vk::ImageSubresourceRange) -> ImageBarrierCI {

        ImageBarrierCI {
            inner: vk::ImageMemoryBarrier {
                image,
                subresource_range: subrange,
                ..ImageBarrierCI::default_ci()
            },
        }
    }
/// Initialize `vk::ImageMemoryBarrier` with default value.
///
/// `image` is the image affected by this barrier.
///
/// `subrange` specifies the subresource range affected by this barrier.
Initialize `vk::ImageMemoryBarrier` with default value.
`image` is the image affected by this barrier.

`subrange` specifies the subresource range affected by this barrier.
Initialize ` vk :: ImageMemoryBarrier ` with default value . ` image ` is the image affected by this barrier . ` subrange ` specifies the subresource range affected by this barrier .
pub fn new(image: vk::Image, subrange: vk::ImageSubresourceRange) -> ImageBarrierCI {
        ImageBarrierCI {
            inner: vk::ImageMemoryBarrier {
                image,
                subresource_range: subrange,
                ..ImageBarrierCI::default_ci()
            },
        }
    }
pub fn new ( image : vk :: Image , subrange : vk :: ImageSubresourceRange ) -> ImageBarrierCI { ImageBarrierCI { inner : vk :: ImageMemoryBarrier { image , subresource_range : subrange , .. ImageBarrierCI :: default_ci ( ) } , } }
Initialize `vk::ImageMemoryBarrier` with default value.
Initialize ` vk :: ImageMemoryBarrier ` with default value .
image
vk::Image
subrange
vk::ImageSubresourceRange
image
vk::Image
subrange
vk::ImageSubresourceRange