Struct screen_13::prelude::vk::VideoEncodeRateControlInfoKHRBuilder
source · pub struct VideoEncodeRateControlInfoKHRBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> VideoEncodeRateControlInfoKHRBuilder<'a>
impl<'a> VideoEncodeRateControlInfoKHRBuilder<'a>
pub fn flags( self, flags: VideoEncodeRateControlFlagsKHR ) -> VideoEncodeRateControlInfoKHRBuilder<'a>
pub fn rate_control_mode( self, rate_control_mode: VideoEncodeRateControlModeFlagsKHR ) -> VideoEncodeRateControlInfoKHRBuilder<'a>
pub fn layer_configs( self, layer_configs: &'a [VideoEncodeRateControlLayerInfoKHR] ) -> VideoEncodeRateControlInfoKHRBuilder<'a>
sourcepub fn build(self) -> VideoEncodeRateControlInfoKHR
pub fn build(self) -> VideoEncodeRateControlInfoKHR
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 VideoEncodeRateControlInfoKHRBuilder<'a>
impl<'a> Deref for VideoEncodeRateControlInfoKHRBuilder<'a>
§type Target = VideoEncodeRateControlInfoKHR
type Target = VideoEncodeRateControlInfoKHR
The resulting type after dereferencing.