Struct ash::vk::VideoEncodeH264RateControlInfoEXTBuilder
source · pub struct VideoEncodeH264RateControlInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> VideoEncodeH264RateControlInfoEXTBuilder<'a>
pub fn gop_frame_count(self, gop_frame_count: u32) -> Self
pub fn idr_period(self, idr_period: u32) -> Self
pub fn consecutive_b_frame_count(self, consecutive_b_frame_count: u32) -> Self
pub fn rate_control_structure( self, rate_control_structure: VideoEncodeH264RateControlStructureEXT ) -> Self
pub fn temporal_layer_count(self, temporal_layer_count: u32) -> Self
sourcepub fn build(self) -> VideoEncodeH264RateControlInfoEXT
pub fn build(self) -> VideoEncodeH264RateControlInfoEXT
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 VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> Deref for VideoEncodeH264RateControlInfoEXTBuilder<'a>
source§impl<'a> DerefMut for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> DerefMut for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl ExtendsVideoCodingControlInfoKHR for VideoEncodeH264RateControlInfoEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> !Send for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> !Sync for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> Unpin for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> UnwindSafe for VideoEncodeH264RateControlInfoEXTBuilder<'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