Struct ash::vk::VideoEncodeH265RateControlInfoEXTBuilder
source · pub struct VideoEncodeH265RateControlInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> VideoEncodeH265RateControlInfoEXTBuilder<'a>
impl<'a> VideoEncodeH265RateControlInfoEXTBuilder<'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: VideoEncodeH265RateControlStructureEXT ) -> Self
pub fn sub_layer_count(self, sub_layer_count: u32) -> Self
sourcepub fn build(self) -> VideoEncodeH265RateControlInfoEXT
pub fn build(self) -> VideoEncodeH265RateControlInfoEXT
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 VideoEncodeH265RateControlInfoEXTBuilder<'a>
impl<'a> Deref for VideoEncodeH265RateControlInfoEXTBuilder<'a>
source§impl<'a> DerefMut for VideoEncodeH265RateControlInfoEXTBuilder<'a>
impl<'a> DerefMut for VideoEncodeH265RateControlInfoEXTBuilder<'a>
impl ExtendsVideoCodingControlInfoKHR for VideoEncodeH265RateControlInfoEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for VideoEncodeH265RateControlInfoEXTBuilder<'a>
impl<'a> RefUnwindSafe for VideoEncodeH265RateControlInfoEXTBuilder<'a>
impl<'a> !Send for VideoEncodeH265RateControlInfoEXTBuilder<'a>
impl<'a> !Sync for VideoEncodeH265RateControlInfoEXTBuilder<'a>
impl<'a> Unpin for VideoEncodeH265RateControlInfoEXTBuilder<'a>
impl<'a> UnwindSafe for VideoEncodeH265RateControlInfoEXTBuilder<'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