Struct ash::vk::FramebufferAttachmentImageInfoBuilder
source · #[repr(transparent)]pub struct FramebufferAttachmentImageInfoBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> FramebufferAttachmentImageInfoBuilder<'a>
impl<'a> FramebufferAttachmentImageInfoBuilder<'a>
pub fn flags(self, flags: ImageCreateFlags) -> Self
pub fn usage(self, usage: ImageUsageFlags) -> Self
pub fn width(self, width: u32) -> Self
pub fn height(self, height: u32) -> Self
pub fn layer_count(self, layer_count: u32) -> Self
pub fn view_formats(self, view_formats: &'a [Format]) -> Self
sourcepub fn build(self) -> FramebufferAttachmentImageInfo
pub fn build(self) -> FramebufferAttachmentImageInfo
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.