Struct ash::vk::ImageFormatListCreateInfoBuilder
source · #[repr(transparent)]pub struct ImageFormatListCreateInfoBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ImageFormatListCreateInfoBuilder<'a>
impl<'a> ImageFormatListCreateInfoBuilder<'a>
pub fn view_formats(self, view_formats: &'a [Format]) -> Self
sourcepub fn build(self) -> ImageFormatListCreateInfo
pub fn build(self) -> ImageFormatListCreateInfo
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.