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> Freeze for FormatPropertiesBuilder<'a>
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