Struct screen_13::prelude::vk::SubresourceLayoutBuilder
source · pub struct SubresourceLayoutBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> SubresourceLayoutBuilder<'a>
impl<'a> SubresourceLayoutBuilder<'a>
pub fn offset(self, offset: u64) -> SubresourceLayoutBuilder<'a>
pub fn size(self, size: u64) -> SubresourceLayoutBuilder<'a>
pub fn row_pitch(self, row_pitch: u64) -> SubresourceLayoutBuilder<'a>
pub fn array_pitch(self, array_pitch: u64) -> SubresourceLayoutBuilder<'a>
pub fn depth_pitch(self, depth_pitch: u64) -> SubresourceLayoutBuilder<'a>
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.
Trait Implementations§
source§impl<'a> Deref for SubresourceLayoutBuilder<'a>
impl<'a> Deref for SubresourceLayoutBuilder<'a>
§type Target = SubresourceLayout
type Target = SubresourceLayout
The resulting type after dereferencing.