Struct ash::vk::VideoEncodeCapabilitiesKHRBuilder
source · pub struct VideoEncodeCapabilitiesKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> VideoEncodeCapabilitiesKHRBuilder<'a>
impl<'a> VideoEncodeCapabilitiesKHRBuilder<'a>
pub fn flags(self, flags: VideoEncodeCapabilityFlagsKHR) -> Self
pub fn rate_control_modes( self, rate_control_modes: VideoEncodeRateControlModeFlagsKHR ) -> Self
pub fn max_rate_control_layers(self, max_rate_control_layers: u32) -> Self
pub fn max_quality_levels(self, max_quality_levels: u32) -> Self
pub fn input_image_data_fill_alignment( self, input_image_data_fill_alignment: Extent2D ) -> Self
pub fn supported_encode_feedback_flags( self, supported_encode_feedback_flags: VideoEncodeFeedbackFlagsKHR ) -> Self
sourcepub fn build(self) -> VideoEncodeCapabilitiesKHR
pub fn build(self) -> VideoEncodeCapabilitiesKHR
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 VideoEncodeCapabilitiesKHRBuilder<'a>
impl<'a> Deref for VideoEncodeCapabilitiesKHRBuilder<'a>
source§impl<'a> DerefMut for VideoEncodeCapabilitiesKHRBuilder<'a>
impl<'a> DerefMut for VideoEncodeCapabilitiesKHRBuilder<'a>
impl ExtendsVideoCapabilitiesKHR for VideoEncodeCapabilitiesKHRBuilder<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for VideoEncodeCapabilitiesKHRBuilder<'a>
impl<'a> !Send for VideoEncodeCapabilitiesKHRBuilder<'a>
impl<'a> !Sync for VideoEncodeCapabilitiesKHRBuilder<'a>
impl<'a> Unpin for VideoEncodeCapabilitiesKHRBuilder<'a>
impl<'a> UnwindSafe for VideoEncodeCapabilitiesKHRBuilder<'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