Struct ash::vk::VideoBeginCodingInfoKHRBuilder
source · #[repr(transparent)]pub struct VideoBeginCodingInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> VideoBeginCodingInfoKHRBuilder<'a>
impl<'a> VideoBeginCodingInfoKHRBuilder<'a>
pub fn flags(self, flags: VideoBeginCodingFlagsKHR) -> Self
pub fn codec_quality_preset( self, codec_quality_preset: VideoCodingQualityPresetFlagsKHR ) -> Self
pub fn video_session(self, video_session: VideoSessionKHR) -> Self
pub fn video_session_parameters( self, video_session_parameters: VideoSessionParametersKHR ) -> Self
pub fn reference_slots( self, reference_slots: &'a [VideoReferenceSlotKHR] ) -> Self
sourcepub fn build(self) -> VideoBeginCodingInfoKHR
pub fn build(self) -> VideoBeginCodingInfoKHR
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.