Struct ash::vk::SubresourceLayoutBuilder  
source · #[repr(transparent)]pub struct SubresourceLayoutBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> SubresourceLayoutBuilder<'a>
 
impl<'a> SubresourceLayoutBuilder<'a>
pub fn offset(self, offset: DeviceSize) -> Self
pub fn size(self, size: DeviceSize) -> Self
pub fn row_pitch(self, row_pitch: DeviceSize) -> Self
pub fn array_pitch(self, array_pitch: DeviceSize) -> Self
pub fn depth_pitch(self, depth_pitch: DeviceSize) -> Self
sourcepub fn build(self) -> SubresourceLayout
 
pub fn build(self) -> SubresourceLayout
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.