pub struct VideoSessionCreateInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> VideoSessionCreateInfoKHRBuilder<'a>
impl<'a> VideoSessionCreateInfoKHRBuilder<'a>
pub fn queue_family_index(self, queue_family_index: u32) -> Self
pub fn flags(self, flags: VideoSessionCreateFlagsKHR) -> Self
pub fn video_profile(self, video_profile: &'a VideoProfileKHR) -> Self
pub fn picture_format(self, picture_format: Format) -> Self
pub fn max_coded_extent(self, max_coded_extent: Extent2D) -> Self
pub fn reference_pictures_format( self, reference_pictures_format: Format, ) -> Self
pub fn max_reference_pictures_slots_count( self, max_reference_pictures_slots_count: u32, ) -> Self
pub fn max_reference_pictures_active_count( self, max_reference_pictures_active_count: u32, ) -> Self
pub fn std_header_version( self, std_header_version: &'a ExtensionProperties, ) -> Self
Sourcepub fn build(self) -> VideoSessionCreateInfoKHR
pub fn build(self) -> VideoSessionCreateInfoKHR
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 VideoSessionCreateInfoKHRBuilder<'a>
impl<'a> Deref for VideoSessionCreateInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for VideoSessionCreateInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for VideoSessionCreateInfoKHRBuilder<'a>
impl<'a> !Send for VideoSessionCreateInfoKHRBuilder<'a>
impl<'a> !Sync for VideoSessionCreateInfoKHRBuilder<'a>
impl<'a> Unpin for VideoSessionCreateInfoKHRBuilder<'a>
impl<'a> UnwindSafe for VideoSessionCreateInfoKHRBuilder<'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