Struct ash::vk::FormatPropertiesBuilder
source · pub struct FormatPropertiesBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> FormatPropertiesBuilder<'a>
impl<'a> FormatPropertiesBuilder<'a>
pub fn linear_tiling_features( self, linear_tiling_features: FormatFeatureFlags ) -> Self
pub fn optimal_tiling_features( self, optimal_tiling_features: FormatFeatureFlags ) -> Self
pub fn buffer_features(self, buffer_features: FormatFeatureFlags) -> Self
sourcepub fn build(self) -> FormatProperties
pub fn build(self) -> FormatProperties
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 FormatPropertiesBuilder<'a>
impl<'a> Deref for FormatPropertiesBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for FormatPropertiesBuilder<'a>
impl<'a> Send for FormatPropertiesBuilder<'a>
impl<'a> Sync for FormatPropertiesBuilder<'a>
impl<'a> Unpin for FormatPropertiesBuilder<'a>
impl<'a> UnwindSafe for FormatPropertiesBuilder<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more